mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 05:38:21 +00:00
file: redo locking
This commit is contained in:
@@ -72,6 +72,8 @@ syscallret_t syscall_waitpid(context_t *context, pid_t pid, int *status, int opt
|
||||
|
||||
ret.ret = iterator->pid;
|
||||
ret.errno = 0;
|
||||
|
||||
__assert(iterator);
|
||||
sched_destroyproc(iterator);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user