Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 3 Feb 2002 21:24:15 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: A real fork() on NT Message-ID: <20020204022415.GA1366@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <006e01c1a96a$f60429a0$aace0544 AT CX535256D> <20020130131416 DOT D11608 AT cygbert DOT vinschen DOT de> <013a01c1ab96$839eefc0$0100a8c0 AT advent02> <20020202032243 DOT GD6842 AT redhat DOT com> <00cb01c1acbf$802b31d0$0100a8c0 AT advent02> <20020203185519 DOT GA30264 AT redhat DOT com> <027701c1ad0d$e1f9d030$0100a8c0 AT advent02> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <027701c1ad0d$e1f9d030$0100a8c0@advent02> User-Agent: Mutt/1.3.23.1i 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/