1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-16 15:11:52 +00:00
freebsd/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
sys
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