Add a comment.

This commit is contained in:
John Baldwin 2006-02-03 21:09:40 +00:00
parent bbe9814a5b
commit 37f84a6018

View File

@ -417,6 +417,9 @@ retry:
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 */