diff options
| author | Malfurious <m@lfurio.us> | 2023-10-10 15:21:08 -0400 |
|---|---|---|
| committer | Malfurious <m@lfurio.us> | 2024-04-24 13:31:08 -0400 |
| commit | b86dd03abe59b6b410de4da3e44f62e62599c5ce (patch) | |
| tree | b80b15c03034aeea0376766bc87cc53563138398 | |
| parent | bda13f10b17baf1c2543a500f09eaeccc8c2d876 (diff) | |
| download | misplays-b86dd03abe59b6b410de4da3e44f62e62599c5ce.tar.gz misplays-b86dd03abe59b6b410de4da3e44f62e62599c5ce.zip | |
Don't spin waiting to interrupt zombie process
Targets can get into this state, for example, when receiving a killing
signal.
Signed-off-by: Malfurious <m@lfurio.us>
| -rw-r--r-- | debugger.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -221,7 +221,7 @@ static void interrupt_all_threads(struct process *proc) { char state; do { state = thread_state(th); - } while (state != 't' && state != 'D'); + } while (state != 't' && state != 'D' && state != 'Z'); wait_thread(th); |
