Revert my previous commit, I mismerged this to the wrong place.
Pointy hat to: netchild
This commit is contained in:
parent
21aed094a9
commit
2482245b0c
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user