From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 30 Nov 2005 14:02:32 -0500 From: ISHWAR RATTAN To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Threadcreate() failure value? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Topicbox-Message-UUID: b42b4d68-ead0-11e9-9d60-3106f5b1d025 On Wed, 30 Nov 2005, Russ Cox wrote: > thread(2): > > Thread library functions do not return on failure; > if errors occur, the entire program is aborted. Interesting. If threads are being created by a min thread on the fly to handle some task, it means all threads (including main thread) disappear?? What if there is a need for active threads to complete the assigned tasks? -ishwar