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] |
While Rob is reviewing my patches i got a bugfix for the pthread cancellation code. 2002-05-27 Thomas Pfaff <tpfaff@gmx.net> * thread.h (pthread::cleanup_stack): Renamed from cleanup_handlers to cleanup_stack. * thread.cc (pthread::pthread): Ditto. (__pthread_cleanup_push): Ditto. (__pthread_cleanup_pop): Ditto. (__pthread_cleanup_pop_all): Ditto. (__pthread_cancel): Check the cancelstate and type before pthread_equal to make sure that the thread is cancelled the right way. Unlock the mutex before the cancellation.
Attachment:
pthread_cancel1.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |