This is the mail archive of the
mailing list for the Cygwin project.
RE: [PATCH] pthread_join fix
- From: "Robert Collins" <robert dot collins at syncretize dot net>
- To: "'Thomas Pfaff'" <tpfaff at gmx dot net>,<cygwin-patches at cygwin dot com>
- Date: Mon, 10 Jun 2002 11:03:29 +1000
- Subject: RE: [PATCH] pthread_join fix
> -----Original Message-----
> From: Thomas Pfaff [mailto:email@example.com]
> Sent: Wednesday, 24 April 2002 8:18 PM
> To: firstname.lastname@example.org
> Subject: [PATCH] pthread_join fix
> 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.
> 2002-04-24 Thomas Pfaff <email@example.com>
> * thread.cc (thread_init_wrapper): Check if thread is alreay
> (__pthread_join): Set joiner first.
> (__pthread_detach): Ditto.