Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com X-Authentication-Warning: atacama.four-d.de: mail set sender to using -f Date: Fri, 20 Sep 2002 09:42:09 +0200 (=?ISO-8859-1?Q?Westeurop=E4ische_Sommerzeit?=) From: Thomas Pfaff To: Robert Collins cc: cygwin-developers AT cygwin DOT com Subject: Re: Recent change to init.cc for thread detach looks wrong? In-Reply-To: <1032505371.9116.39.camel@lifelesswks> Message-ID: X-X-Sender: pfaff AT antarctica DOT intern DOT net MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 20 Sep 2002, Robert Collins wrote: > On Fri, 2002-09-20 at 15:32, Christopher Faylor wrote: > > Robert, > > Your recent change: > > 2002-09-11 Robert Collins > > > > * init.cc (dll_entry): On thread detach, if the thread hasn't > > exit()ed, do so. > > > > doesn't look right. The code invokes pthread::exit which can block > > waiting on a mutex, it seems. > > Ok, will correct this weekend. > You may have a look at my pthread patch part 4 that shows how i have implemented cleanup after thread termination. Thomas