A real fork() on NT

Christopher January ccj00@doc.ic.ac.uk
Mon Feb 4 07:12:00 GMT 2002


> >I've got the book; I have a DLL that exports a function called fork and
> >I'm seeing what can be done to get it to work with kdeinit.  A lot of
> >programs do: if (fork() == 0) exec(...) and this could be replaced by
> >spawn(...) anyway, but kdeinit does a bit more work.
>
> So, use vfork().  We already have an implementation that does the right
> thing in that case.
That wouldn't work.

--
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