git: kernel - add lockowned()

看板DFBSD_commit作者時間15年前 (2010/06/12 13:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1C4nIGnm (DFBSD_commit)