summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_join.c
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-06-29 23:49:41 +0000
committermtm <mtm@FreeBSD.org>2003-06-29 23:49:41 +0000
commit39a4899732da552e6e0de76201566ee295c841fc (patch)
tree64f1269b5436d2c6956607712fa6593bb57219d1 /lib/libthr/thread/thr_join.c
parent65c6a689bc519fe51f539267d8fd8ec2f7139ed3 (diff)
downloadFreeBSD-src-39a4899732da552e6e0de76201566ee295c841fc.zip
FreeBSD-src-39a4899732da552e6e0de76201566ee295c841fc.tar.gz
Locking primitives and operations in libthr should use struct umtx,
not spinlock_t. Spinlock_t and the associated functions and macros may require blocking signals in order for async-safe libc functions to behave appropriately in libthr. This is undesriable for libthr internal locking. So, this is the first step in completely separating libthr from libc's locking primitives. Three new macros should be used for internal libthr locking from now on: THR_LOCK, THR_TRYLOCK, THR_UNLOCK.
Diffstat (limited to 'lib/libthr/thread/thr_join.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud