Time sharing and fork

Christopher Faylor cygwin@cygwin.com
Fri Mar 22 06:51:00 GMT 2002


On Fri, Mar 22, 2002 at 12:50:07PM +0000, Stephane Corbe wrote:
>An interresting part of strace traces of the programm show well that the
>child didn't start before the death of his father :

That's not guaranteed fork behavior.  If the child never started, that would
be a bug.  There is no guaranteed behavior with respect to which process is
scheduled after a fork on windows or linux.  If you want to serialize things
use one of the wait calls.

cgf
--
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.com/ .

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list