A real fork() on NT

Christopher Faylor cgf@redhat.com
Sun Feb 3 18:23:00 GMT 2002


On Sun, Feb 03, 2002 at 11:52:46PM -0000, Chris January wrote:
>>What proof of concept?  The book has a "proof of concept".  It's the
>>niggling details that are the problem.
>>
>>You'd need a real implementation to prove that it is workable.
>>
>>Why do I get the feeling that no one is interested in actually looking
>>at the working code from the referenced book?
>
>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.

cgf

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