freebsd-dev/lib/libthr
David Xu cdcffc3f1c Tweak code a bit to be POSIX compatible, when a cancellation request
is acted upon, or when a thread calls pthread_exit(), the thread first
disables cancellation by setting its cancelability state to
PTHREAD_CANCEL_DISABLE and its cancelability type to
PTHREAD_CANCEL_DEFERRED. The cancelability state remains set to
PTHREAD_CANCEL_DISABLE until the thread has terminated.

It has no effect if a cancellation cleanup handler or thread-specific
data destructor routine changes the cancelability state to
PTHREAD_CANCEL_ENABLE.
2010-08-17 02:50:12 +00:00
..
arch Fix SVN mismerge. We somehow ended up with the 32-bit powerpc version 2010-07-11 05:13:38 +00:00
support Use thr_new syscall to create a new thread, obscure context operations 2005-04-23 02:48:59 +00:00
sys __error could be called too early before libthr is initialized, test 2006-07-12 03:44:05 +00:00
thread Tweak code a bit to be POSIX compatible, when a cancellation request 2010-08-17 02:50:12 +00:00
libthr.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
Makefile Revert r199830 for now. Too many ports dlopen() libraries linked with 2009-11-28 14:34:28 +00:00
pthread.map Remove extra new semaphore stubs, because libc already has them, and 2010-01-05 06:21:29 +00:00