diff options
author | attilio <attilio@FreeBSD.org> | 2008-02-06 00:50:51 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2008-02-06 00:50:51 +0000 |
commit | 2656e4d699d3e85d13d9ce6ed95c7a71f1f72563 (patch) | |
tree | 8960bb58f0aa8acd0d0e9886f8056f84449d49c1 /share/man/man9/lock.9 | |
parent | 209634d0e1c6a41571eee6eb9e7018aa40037d54 (diff) | |
download | FreeBSD-src-2656e4d699d3e85d13d9ce6ed95c7a71f1f72563.zip FreeBSD-src-2656e4d699d3e85d13d9ce6ed95c7a71f1f72563.tar.gz |
Update manpage in order to reflect LK_NODUP and LK_NOWITNESS options
introduction.
Diffstat (limited to 'share/man/man9/lock.9')
-rw-r--r-- | share/man/man9/lock.9 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9 index b0a5e0b..3765a84 100644 --- a/share/man/man9/lock.9 +++ b/share/man/man9/lock.9 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 24, 2008 +.Dd February 6, 2008 .Dt LOCK 9 .Os .Sh NAME @@ -76,7 +76,7 @@ The timeout value passed to .Xr sleep 9 . .It Fa flags The flags the lock is to be initialized with. -.Bl -tag -width ".Dv LG_CANRECURSE" +.Bl -tag -width ".Dv LK_CANRECURSE" .It Dv LK_NOWAIT Do not sleep while acquiring the lock. .It Dv LK_SLEEPFAIL @@ -85,6 +85,13 @@ Fail after a sleep. Allow recursive exclusive locks. .It Dv LK_NOSHARE Allow exclusive locks only. +.It Dv LK_NOWITNESS +Instruct +.Xr witness 4 +to ignore this lock. +.It Dv LK_NODUP +.Xr witness 4 +should log messages about duplicate locks being acquired. .It Dv LK_TIMELOCK Use .Fa timo |