From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Thu, 3 Nov 2005 12:58:43 -0500 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] waiting for dead procs with libthread In-Reply-To: <067feb2db80734bebbdb94dd826c659e@lsub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <067feb2db80734bebbdb94dd826c659e@lsub.org> Topicbox-Message-UUID: a48c96c8-ead0-11e9-9d60-3106f5b1d025 > Just wondering. Why is it that proccreate/rfork use RFNOWAIT? > The result is that you can't use threadwaitchan() to learn of > procs created (for things other than exec) that died. Just have them send you a message on a channel before they exit. Threadwaitchan() exists only because exec'ed programs can't do that for themselves. Russ