summaryrefslogtreecommitdiffstats
path: root/misplays.c
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-10-06 04:55:18 -0400
committerMalfurious <m@lfurio.us>2024-04-24 13:31:08 -0400
commit66db439988aa07828593aac109f5690bb48f2dc9 (patch)
tree8796e059228b9d67a677be93036305b9bd293b18 /misplays.c
parent46f72be263cf29688f684e90f2e149e5c911016b (diff)
downloadmisplays-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.c5
1 files changed, 1 insertions, 4 deletions
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);
}
}