[PATCH] check for valid pthread_self pointer
Wed Aug 7 08:19:00 GMT 2002
This patch should fix the problem with the ipc-daemon started as service
and threads that are not created by pthread_create.
Actually it will only check for a valid thread_self pointer in different
functions to avoid a SEGV.
The pthread functions therefore can not be used within a service main
thread or a thread started by CreateThread (but you can of course
start new threads with pthread_create that can make use of it).
2002-08-07 Thomas Pfaff <firstname.lastname@example.org>
* pthread.cc: Include errno.h.
(pthread_exit): Check for a valid pthread_self pointer.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Cygwin-patches