This is the mail archive of the
mailing list for the Cygwin project.
Re: A real fork() on NT
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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html