DragonFly BSD
DragonFly commits List (threaded) for 2010-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - add lockowned()


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 11 Jun 2010 21:32:12 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]