diff options
author | jake <jake@FreeBSD.org> | 2000-12-18 05:50:31 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2000-12-18 05:50:31 +0000 |
commit | e1570afa9a5b21872cf12819e7361b9f54f62c6e (patch) | |
tree | 18303462a011700ea29bb367e53ea581e050aa9e /sys/kern/kern_exit.c | |
parent | e71af642aac014ca1f7ef950ca84ba9d19c66708 (diff) | |
download | FreeBSD-src-e1570afa9a5b21872cf12819e7361b9f54f62c6e.zip FreeBSD-src-e1570afa9a5b21872cf12819e7361b9f54f62c6e.tar.gz |
Add an assertion macro for lockmgr locks, LOCKMGR_ASSERT(lkp, what, p).
The what argument is the hold type that assertion acts on. LK_SHARED
to assert that the process holds a shared, LK_EXCLUSIVE to assert that
the process holds _either_ a shared lock or an exclusive lock.
Diffstat (limited to 'sys/kern/kern_exit.c')
0 files changed, 0 insertions, 0 deletions