diff options
author | attilio <attilio@FreeBSD.org> | 2008-01-09 02:10:32 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2008-01-09 02:10:32 +0000 |
commit | bb203b2edfd66e8f216f9cdfbabea1ba174271e3 (patch) | |
tree | c0f94679272e45c0c3fe179ce207ff76ae82eb7f /share/man/man9/lock.9 | |
parent | f0eca36d0b2a9ffb5450cd431ada10a4ccf21dfc (diff) | |
download | FreeBSD-src-bb203b2edfd66e8f216f9cdfbabea1ba174271e3.zip FreeBSD-src-bb203b2edfd66e8f216f9cdfbabea1ba174271e3.tar.gz |
Add lockmgr_disown() and relative explanation.
Diffstat (limited to 'share/man/man9/lock.9')
-rw-r--r-- | share/man/man9/lock.9 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9 index ee73335..a3034a0 100644 --- a/share/man/man9/lock.9 +++ b/share/man/man9/lock.9 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 27, 2007 +.Dd January 09, 2008 .Dt LOCK 9 .Os .Sh NAME @@ -35,6 +35,7 @@ .Nm lockcount , .Nm lockmgr , .Nm lockstatus , +.Nm lockmgr_disown , .Nm lockmgr_printinfo .Nd "lockmgr family of functions" .Sh SYNOPSIS @@ -51,6 +52,8 @@ .Ft int .Fn lockstatus "struct lock *lkp" "struct thread *td" .Ft void +.Fn lockmgr_disown "struct lock *lkp" +.Ft void .Fn lockmgr_printinfo "struct lock *lkp" .Sh DESCRIPTION The @@ -187,6 +190,12 @@ and an exclusive lock is held, will be returned. .Pp The +.Fn lockmgr_disown +function switch the owner from curthread to be +.Dv LK_KERNPROC, +if the lock is alredy held. +.Pp +The .Fn lockmgr_printinfo function prints debugging information about the lock. It is used primarily by |