Add a comment.
This commit is contained in:
parent
bbe9814a5b
commit
37f84a6018
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155267
@ -417,6 +417,9 @@ exit1(struct thread *td, int rv)
|
||||
LIST_REMOVE(p, p_hash);
|
||||
sx_xunlock(&allproc_lock);
|
||||
|
||||
/*
|
||||
* Reparent all of our children to init.
|
||||
*/
|
||||
sx_xlock(&proctree_lock);
|
||||
q = LIST_FIRST(&p->p_children);
|
||||
if (q != NULL) /* only need this if any child is S_ZOMB */
|
||||
|
Loading…
Reference in New Issue
Block a user