Revert my previous commit, I mismerged this to the wrong place.

Pointy hat to:	netchild
This commit is contained in:
Alexander Leidinger 2006-10-15 13:30:45 +00:00
parent 21aed094a9
commit 2482245b0c
2 changed files with 0 additions and 2 deletions

View File

@ -495,7 +495,6 @@ linux_vfork(struct thread *td, struct linux_vfork_args *args)
return (error);
/* wait for the children to exit, ie. emulate vfork */
PROC_LOCK(p2);
p2->p_flag |= P_PPWAIT;
while (p2->p_flag & P_PPWAIT)
msleep(td->td_proc, &p2->p_mtx, PWAIT, "ppwait", 0);
PROC_UNLOCK(p2);

View File

@ -340,7 +340,6 @@ linux_vfork(struct thread *td, struct linux_vfork_args *args)
return (error);
/* wait for the children to exit, ie. emulate vfork */
PROC_LOCK(p2);
p2->p_flag |= P_PPWAIT;
while (p2->p_flag & P_PPWAIT)
msleep(td->td_proc, &p2->p_mtx, PWAIT, "ppwait", 0);
PROC_UNLOCK(p2);