Document lockmgr_waiters(9).
Reviewed by: attilio
This commit is contained in:
parent
41514132ee
commit
709a46133e
@ -723,6 +723,7 @@ MLINKS+=lock.9 lockdestroy.9 \
|
||||
lock.9 lockmgr_disown.9 \
|
||||
lock.9 lockmgr_printinfo.9 \
|
||||
lock.9 lockmgr_recursed.9 \
|
||||
lock.9 lockmgr_waiters.9 \
|
||||
lock.9 lockstatus.9
|
||||
MLINKS+=LOCK_PROFILING.9 MUTEX_PROFILING.9
|
||||
MLINKS+=make_dev.9 destroy_dev.9 \
|
||||
|
@ -26,7 +26,7 @@
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd March 1, 2008
|
||||
.Dd March 28, 2008
|
||||
.Dt LOCK 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -37,6 +37,7 @@
|
||||
.Nm lockmgr_disown ,
|
||||
.Nm lockmgr_printinfo ,
|
||||
.Nm lockmgr_recursed ,
|
||||
.Nm lockmgr_waiters ,
|
||||
.Nm lockstatus ,
|
||||
.Nm lockmgr_assert
|
||||
.Nd "lockmgr family of functions"
|
||||
@ -59,6 +60,8 @@
|
||||
.Ft int
|
||||
.Fn lockmgr_recursed "struct lock *lkp"
|
||||
.Ft int
|
||||
.Fn lockmgr_waiters "struct lock *lkp"
|
||||
.Ft int
|
||||
.Fn lockstatus "struct lock *lkp"
|
||||
.Pp
|
||||
.Cd "options INVARIANTS"
|
||||
@ -220,6 +223,10 @@ function returns true if the lock is recursed, 0
|
||||
otherwise.
|
||||
.Pp
|
||||
The
|
||||
.Fn lockmgr_waiters
|
||||
function returns true if the lock has waiters, 0 otherwise.
|
||||
.Pp
|
||||
The
|
||||
.Fn lockstatus
|
||||
function returns the status of the lock in relation to the current thread.
|
||||
.Pp
|
||||
|
Loading…
Reference in New Issue
Block a user