summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_find_thread.c
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-05-25 07:58:22 +0000
committermtm <mtm@FreeBSD.org>2003-05-25 07:58:22 +0000
commit33c8b02fd8ae4e20728d11cbf06a9e18d546af6b (patch)
treea918630c18944b3bcffd684ebd3891e041ea368c /lib/libthr/thread/thr_find_thread.c
parent9a47cfedaa161760fa17eca1844ce525389199b2 (diff)
downloadFreeBSD-src-33c8b02fd8ae4e20728d11cbf06a9e18d546af6b.zip
FreeBSD-src-33c8b02fd8ae4e20728d11cbf06a9e18d546af6b.tar.gz
The libthr code makes use of higher-level primitives (pthread_mutex_t and
pthread_cond_t) internaly in addition to the low-level spinlock_t. The garbage collector mutex and condition variable are two such examples. This might lead to critical sections nested within critical sections. Implement a reference counting mechanism so that signals are masked only on the first entry and unmasked on the last exit. I'm not sure I like the idea of nested critical sections, but if the library is going to use the pthread primitives it might be necessary. Approved by: re/blanket libthr
Diffstat (limited to 'lib/libthr/thread/thr_find_thread.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud