From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Wed, 30 Nov 2005 15:39:23 -0500 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Threadcreate() failure value? In-Reply-To: <438E048B.50808@lanl.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <438E048B.50808@lanl.gov> Topicbox-Message-UUID: b46974bc-ead0-11e9-9d60-3106f5b1d025 > what if your create failed due to some other process having the process > leak, and you'd like your process, which has done nothing wrong, to get > out of the mess cleanly? Then you will need to change the thread library and then edit all the programs that use it to check the return values on threadcreate and proccreate. Russ