diff options
author | Malfurious <m@lfurio.us> | 2023-10-06 04:55:18 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2024-04-24 13:31:08 -0400 |
commit | 66db439988aa07828593aac109f5690bb48f2dc9 (patch) | |
tree | 8796e059228b9d67a677be93036305b9bd293b18 /misplays.c | |
parent | 46f72be263cf29688f684e90f2e149e5c911016b (diff) | |
download | misplays-66db439988aa07828593aac109f5690bb48f2dc9.tar.gz misplays-66db439988aa07828593aac109f5690bb48f2dc9.zip |
Independent thread control refactor
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'misplays.c')
-rw-r--r-- | misplays.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -149,10 +149,7 @@ static void info_update(struct thread *th, PANEL *pan) { static void wait_all_threads(struct list *processes) { for (struct process *proc = processes->head; proc != processes->end; proc = proc->next) { - struct list *threads = &proc->threads; - for (struct thread *th = threads->head; th != threads->end; th = th->next) { - dbg_wait(th, 0); - } + dbg_sync(proc); } } |