[PATCH] pthread_join fix

Robert Collins robert.collins@itdomain.com.au
Sat May 11 18:41:00 GMT 2002


Glup. I will get these reviewed this weekend. Honest.

Rob

> -----Original Message-----
> From: Christopher Faylor [mailto:cgf@redhat.com] 
> Sent: Sunday, May 12, 2002 11:40 AM
> To: cygwin-patches@cygwin.com
> Subject: Re: [PATCH] pthread_join fix
> 
> 
> What's the status of these patches?
> 
> I've been holding off on releasing 1.3.11 based on these 
> patches, the potential for fixing socket problems, and the 
> ever-crucial EISDIR problem in the cygwin mailing list.
> 
> cgf
> 
> On Wed, Apr 24, 2002 at 12:18:19PM +0200, Thomas Pfaff wrote:
> >Rob,
> >
> >this is an incremental update to my pthread patches. It will fix a 
> >problem when a thread is joined before the creation completed.
> >
> >BTW, i have not added any locks yet (the actual 
> implementation had no), 
> >but IMHO they are required in the exit,join,cancel code. I will add 
> >locks if you agree.
> >
> >Greetings,
> >Thomas
> >
> >2002-04-24  Thomas Pfaff  <tpfaff@gmx.net>
> >
> >	* thread.cc (thread_init_wrapper): Check if thread is alreay
> >	joined
> >	(__pthread_join): Set joiner first.
> >	(__pthread_detach): Ditto.
> >
> >
> 
> 
> 



More information about the Cygwin-patches mailing list