summaryrefslogtreecommitdiffstats
path: root/debugger.h
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 /debugger.h
parent46f72be263cf29688f684e90f2e149e5c911016b (diff)
downloadmisplays-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.h6
1 files changed, 3 insertions, 3 deletions
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);