* John Baldwin <[EMAIL PROTECTED]> [011218 18:41] wrote:
> Actually, it's a bit worse than that.  The parent process will sleep on itself
> waiting to be woken up, but when the child exits, it will wake up init
> (p->p_pptr) not the waiting process, so if you do a rfork(..., RFNOWAIT |
> RFPPWAIT); then the parent process will hang and never return.
> Perhaps fork1() should return EINVAL if both flags are set.

Good idea.

-Alfred Perlstein [[EMAIL PROTECTED]]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to