mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
exit syscall: stop other threads
This commit is contained in:
@@ -69,6 +69,8 @@ typedef struct proc_t {
|
||||
vnode_t *root;
|
||||
spinlock_t nodeslock;
|
||||
semaphore_t waitsem;
|
||||
spinlock_t exiting;
|
||||
bool nomorethreads;
|
||||
} proc_t;
|
||||
|
||||
#include <arch/cpu.h>
|
||||
|
||||
Reference in New Issue
Block a user