From 66db439988aa07828593aac109f5690bb48f2dc9 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Fri, 6 Oct 2023 04:55:18 -0400 Subject: Independent thread control refactor Signed-off-by: Malfurious --- misplays.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'misplays.c') diff --git a/misplays.c b/misplays.c index 815e045..c064f75 100644 --- a/misplays.c +++ b/misplays.c @@ -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); } } -- cgit v1.2.3