diff options
author | brueffer <brueffer@FreeBSD.org> | 2008-03-28 21:30:37 +0000 |
---|---|---|
committer | brueffer <brueffer@FreeBSD.org> | 2008-03-28 21:30:37 +0000 |
commit | 709a46133e85fa299b922622772e772a1f4acbc4 (patch) | |
tree | 1c391cfaec37fb9ac1c5f7854f8c99cf69fa10d1 /share | |
parent | 41514132ee0fa12f10de595e0d24397c257f31ca (diff) | |
download | FreeBSD-src-709a46133e85fa299b922622772e772a1f4acbc4.zip FreeBSD-src-709a46133e85fa299b922622772e772a1f4acbc4.tar.gz |
Document lockmgr_waiters(9).
Reviewed by: attilio
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/Makefile | 1 | ||||
-rw-r--r-- | share/man/man9/lock.9 | 9 |
2 files changed, 9 insertions, 1 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index 685c00b..dd10f7c 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -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 \ diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9 index dcb7a9d..a2268d1 100644 --- a/share/man/man9/lock.9 +++ b/share/man/man9/lock.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 |