summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2000-12-18 05:50:31 +0000
committerjake <jake@FreeBSD.org>2000-12-18 05:50:31 +0000
commite1570afa9a5b21872cf12819e7361b9f54f62c6e (patch)
tree18303462a011700ea29bb367e53ea581e050aa9e /sys/kern/kern_exit.c
parente71af642aac014ca1f7ef950ca84ba9d19c66708 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud