monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] auto updates


From: Nathaniel Smith
Subject: Re: [Monotone-devel] auto updates
Date: Sun, 29 Oct 2006 11:24:45 -0800
User-agent: Mutt/1.5.13 (2006-08-11)

On Sun, Oct 29, 2006 at 01:59:49AM -0700, Zack Weinberg wrote:
> On 10/29/06, Nathaniel Smith <address@hidden> wrote:
> >
> >It should be possible to deal with zombies through some POSIX hackery,
> >no?  The only tricky bit is that we _do_ sometimes want to wait for a
> >process, so we can't just unconditionally get rid of zombies...
> 
> Fork a child, which forks a grandchild and exits.  Grandchild execs
> what you really wanted to run.  wait() returns for the child, and the
> grandchild gets reparented to init.

Well, there you go.  And I guess we could wrap all this up in a
boolean 'waitable' flag to spawn()?

-- Nathaniel

-- 
Details are all that matters; God dwells there, and you never get to
see Him if you don't struggle to get them right. -- Stephen Jay Gould




reply via email to

[Prev in Thread] Current Thread [Next in Thread]