This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH] pthread_join fix


Applied.

Thanks,
Rob

> -----Original Message-----
> From: Thomas Pfaff [mailto:tpfaff@gmx.net] 
> Sent: Wednesday, 24 April 2002 8:18 PM
> To: cygwin-patches@cygwin.com
> Subject: [PATCH] pthread_join fix
> 
> 
> 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.
> 
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]