summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_mutex_protocol.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2006-01-05 13:51:22 +0000
committerdavidxu <davidxu@FreeBSD.org>2006-01-05 13:51:22 +0000
commitd6c88c0f27b6e6c0006896e7fb3e47f0f7e992d8 (patch)
tree7cdbbed3366ccd9eec189ba14d2d48ff355912e4 /lib/libthr/thread/thr_mutex_protocol.c
parente065d5a1853d5ac2323fc116b1b2462841c0160e (diff)
downloadFreeBSD-src-d6c88c0f27b6e6c0006896e7fb3e47f0f7e992d8.zip
FreeBSD-src-d6c88c0f27b6e6c0006896e7fb3e47f0f7e992d8.tar.gz
Refine thread suspension code, now thread suspension is a blockable
operation, the caller is blocked util target threads are really suspended, also avoid suspending a thread when it is holding a critical lock. Fix a bug in _thr_ref_delete which tests a never set flag.
Diffstat (limited to 'lib/libthr/thread/thr_mutex_protocol.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud