proc_wait -> wait
This commit is contained in:
parent
949352af66
commit
fd6b029401
1 changed files with 1 additions and 1 deletions
2
proc.c
2
proc.c
|
@ -382,7 +382,7 @@ exit(void)
|
||||||
|
|
||||||
acquire(&proc_table_lock);
|
acquire(&proc_table_lock);
|
||||||
|
|
||||||
// Parent might be sleeping in proc_wait.
|
// Parent might be sleeping in wait().
|
||||||
wakeup1(cp->parent);
|
wakeup1(cp->parent);
|
||||||
|
|
||||||
// Pass abandoned children to init.
|
// Pass abandoned children to init.
|
||||||
|
|
Loading…
Reference in a new issue