diff options
author | jhb <jhb@FreeBSD.org> | 2001-06-27 06:39:37 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-06-27 06:39:37 +0000 |
commit | 97220dbd1ea90cd0e4fbc824e176960ac2efe949 (patch) | |
tree | c0e040174a8822672536a4e08165f5b72aadcce8 /lib/libpanel | |
parent | e58c0d25fbd948099aab8e1cd78816f89d32a687 (diff) | |
download | FreeBSD-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/libpanel')
0 files changed, 0 insertions, 0 deletions