[PATCH] pthread_join fix
Thomas Pfaff
tpfaff@gmx.net
Wed Apr 24 03:18:00 GMT 2002
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pthread_join.patch
Type: application/octet-stream
Size: 1212 bytes
Desc:
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020424/5646ccd5/attachment.obj>
More information about the Cygwin-patches
mailing list