diff options
author | Marvin Borner | 2020-05-09 22:30:46 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-09 22:30:46 +0200 |
commit | e350804dc78ab01aaca6aba33792a652535028d9 (patch) | |
tree | 610f4c71dd44d12f68bacccb5809135d10771192 /src/kernel/syscall/actions | |
parent | 09a66e91ec9e8a677aa48f27798753084f213713 (diff) |
Sooooooo many race conditions
NEXT: SPINLOCKS!
Diffstat (limited to 'src/kernel/syscall/actions')
-rw-r--r-- | src/kernel/syscall/actions/sys_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/syscall/actions/sys_exit.c b/src/kernel/syscall/actions/sys_exit.c index 98e0c34..eb019ab 100644 --- a/src/kernel/syscall/actions/sys_exit.c +++ b/src/kernel/syscall/actions/sys_exit.c @@ -3,6 +3,6 @@ u32 sys_exit(u32 code) { - current_proc->state = PROC_ASLEEP; + process_suspend(current_proc->pid); return code; }
\ No newline at end of file |