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 --- debugger.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'debugger.h') diff --git a/debugger.h b/debugger.h index ef08d43..cea3bba 100644 --- a/debugger.h +++ b/debugger.h @@ -52,8 +52,8 @@ struct thread { pid_t id; int stopped; int signal; - int cont; - int shouldcont; + int doing; + int donext; char status[128]; }; @@ -65,7 +65,7 @@ extern struct process *dbg_attach(pid_t pid, int child); extern void dbg_detach(struct process *proc); extern int dbg_free(struct thread *th); -extern int dbg_wait(struct thread *th, int primary); +extern void dbg_sync(struct process *proc); extern int dbg_intr(struct thread *th); extern int dbg_cont(struct thread *th); -- cgit v1.2.3