Skip to content

Commit

Permalink
lock.9: LK_TIMELOCK is a lockmgr flag, not lockinit
Browse files Browse the repository at this point in the history
Reviewed by:	imp, markj
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D45246
  • Loading branch information
rlibby committed May 20, 2024
1 parent 55d2990 commit da590a3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions share/man/man9/lock.9
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
.\" DAMAGE.
.\"
.Dd November 17, 2017
.Dd May 18, 2024
.Dt LOCK 9
.Os
.Sh NAME
Expand Down Expand Up @@ -108,10 +108,6 @@ should log messages about duplicate locks being acquired.
Disable
.Xr ktr 4
logging for this lock.
.It Dv LK_TIMELOCK
Use
.Fa timo
during a sleep; otherwise, 0 is used.
.El
.El
.Pp
Expand Down Expand Up @@ -182,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_TIMELOCK
Use
.Fa timo
during a sleep; otherwise, 0 is used.
.It Dv LK_NOWITNESS
Skip the
.Xr witness 4
Expand Down

0 comments on commit da590a3

Please sign in to comment.