看板 DFBSD_commit 關於我們 聯絡資訊
commit 43903f4c2e5c1228cd4d319329a2c8b1fc5814d0 Author: Matthew Dillon <dillon@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