Document MTX_NOPROFILE flag.

This commit is contained in:
Pawel Jakub Dawidek 2006-12-21 22:42:18 +00:00
parent 1ffe761633
commit 297507d08c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165453
2 changed files with 4 additions and 2 deletions

View File

@ -28,7 +28,7 @@
.\" from BSDI $Id: mutex.4,v 1.1.2.3 1998/04/27 22:53:13 ewv Exp $
.\" $FreeBSD$
.\"
.Dd February 1, 2006
.Dd December 21, 2006
.Dt MUTEX 9
.Os
.Sh NAME
@ -434,6 +434,8 @@ Instruct
to ignore this lock.
.It Dv MTX_DUPOK
Witness should not log messages about duplicate locks being acquired.
.It Dv MTX_NOPROFILE
Do not profile this lock.
.El
.Ss Lock and Unlock Flags
The flags passed to the

View File

@ -57,7 +57,7 @@
#define MTX_SPIN 0x00000001 /* Spin lock (disables interrupts) */
#define MTX_RECURSE 0x00000004 /* Option: lock allowed to recurse */
#define MTX_NOWITNESS 0x00000008 /* Don't do any witness checking. */
#define MTX_NOPROFILE 0x00000020
#define MTX_NOPROFILE 0x00000020 /* Don't profile this lock */
/*
* Option flags passed to certain lock/unlock routines, through the use