tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make: cannot vfork() twice - on darwin



On Thu, Apr 22, 2010 at 04:11:09PM -0700, Simon J. Gerraty wrote:
 > Sounds reasonable, still need to use the pid trick,
 > since a parent can vfork many children ok, it is the child that cannot 
 > vfork - and should not disturb the parent.

but, fwiw, the logic I put in (the "forked" flag) was correct for this;
it cleared the flag in the parent for precisely this reason.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index