delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/03/21:32:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cgf AT redhat DOT com>
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> <E16VsW4-0001P8-00 AT diver DOT doc DOT ic DOT ac DOT uk> <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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019