git: kernel - add lockowned()
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Jun 11 21:36:20 PDT 2010
commit 43903f4c2e5c1228cd4d319329a2c8b1fc5814d0
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Jun 11 17:20:11 2010 -0700
kernel - add lockowned()
* Add a simple function which returns TRUE if a lockmgr lock is likely
owned by the caller. Shared lock ownership can only be approximated.
Designed for use in assertions.
Summary of changes:
sys/kern/kern_lock.c | 14 ++++++++++++++
sys/sys/lock.h | 1 +
2 files changed, 15 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/43903f4c2e5c1228cd4d319329a2c8b1fc5814d0
--
DragonFly BSD source repository
More information about the Commits
mailing list