summaryrefslogtreecommitdiffstats
path: root/lib/libkse
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-06-27 06:39:37 +0000
committerjhb <jhb@FreeBSD.org>2001-06-27 06:39:37 +0000
commit97220dbd1ea90cd0e4fbc824e176960ac2efe949 (patch)
treec0e040174a8822672536a4e08165f5b72aadcce8 /lib/libkse
parente58c0d25fbd948099aab8e1cd78816f89d32a687 (diff)
downloadFreeBSD-src-97220dbd1ea90cd0e4fbc824e176960ac2efe949.zip
FreeBSD-src-97220dbd1ea90cd0e4fbc824e176960ac2efe949.tar.gz
- Add trylock variants of shared and exclusive locks.
- The sx assertions don't actually need the internal sx mutex lock, so don't bother doing so. - Add a new assertion SX_ASSERT_LOCKED() that asserts that either a shared or exclusive lock should be held. This assertion should be used instead of SX_ASSERT_SLOCKED() in almost all cases. - Adjust some KASSERT()'s to include file and line information. - Use the new witness_assert() function in the WITNESS case for sx slock asserts to verify that the current thread actually owns a slock.
Diffstat (limited to 'lib/libkse')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud