freebsd-dev/lib/libthr
David Xu ada33a6e36 Change atfork lock from mutex to rwlock, also make mutexes used by malloc()
module private type, when private type mutex is locked/unlocked, thread
critical region is entered or leaved. These changes makes fork()
async-signal safe which required by POSIX. Note that user's atfork handler
still needs to be async-signal safe, but it is not problem of libthr, it
is user's responsiblity.
2010-09-01 03:11:21 +00:00
..
arch Unify 32-bit and 64-bit PowerPC libthr support. This reduces code 2010-08-24 20:50:08 +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 Change atfork lock from mutex to rwlock, also make mutexes used by malloc() 2010-09-01 03:11:21 +00:00
libthr.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
Makefile Unify 32-bit and 64-bit PowerPC libthr support. This reduces code 2010-08-24 20:50:08 +00:00
pthread.map Add wrapper for setcontext() and swapcontext(), the wrappers 2010-08-24 09:57:06 +00:00