mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
waitpid: use event instead of busy loop when waiting for threads to die
This commit is contained in:
@@ -36,6 +36,7 @@ typedef struct proc_t {
|
||||
cred_t cred;
|
||||
spinlock_t threadlistlock;
|
||||
thread_t *threadlist;
|
||||
eventheader_t thread_exit_event;
|
||||
bool nomorethreads;
|
||||
size_t runningthreadcount;
|
||||
size_t fdcount;
|
||||
|
||||
Reference in New Issue
Block a user