mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +00:00
LK_NOWITNESS can be used now in lockmgr*() functions in order to skip
witness(4) checks on a per-instance basis.
This commit is contained in:
parent
e5f94314ad
commit
031e0f3cd9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178160
@ -26,7 +26,7 @@
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd April 6, 2008
|
||||
.Dd April 12, 2008
|
||||
.Dt LOCK 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -178,6 +178,10 @@ Fail if operation has slept.
|
||||
.It Dv LK_NOWAIT
|
||||
Do not allow the call to sleep.
|
||||
This can be used to test the lock.
|
||||
.It Dv LK_NOWITNESS
|
||||
Skip the
|
||||
.Xr witness 4
|
||||
checks for this instance.
|
||||
.It Dv LK_CANRECURSE
|
||||
Allow recursion on an exclusive lock.
|
||||
For every lock there must be a release.
|
||||
|
Loading…
Reference in New Issue
Block a user