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 /debugger.h | |
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 'debugger.h')
-rw-r--r-- | debugger.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |