summaryrefslogtreecommitdiffstats
path: root/share/man/man9/mutex.9
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-12-13 23:30:43 +0000
committerjhb <jhb@FreeBSD.org>2000-12-13 23:30:43 +0000
commit5c076dd6075d3d5ed1468531d618e83e65f007df (patch)
tree62e7f4e25aa47e830c406a3e7886fa84724af0fe /share/man/man9/mutex.9
parentde9be251f5c7231015569f5c9d8f33b98b0b3168 (diff)
downloadFreeBSD-src-5c076dd6075d3d5ed1468531d618e83e65f007df.zip
FreeBSD-src-5c076dd6075d3d5ed1468531d618e83e65f007df.tar.gz
Document the MA_RECURSED and MA_NOTRECURSED assertion flags as well as
the MTX_QUIET flag.
Diffstat (limited to 'share/man/man9/mutex.9')
-rw-r--r--share/man/man9/mutex.915
1 files changed, 15 insertions, 0 deletions
diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9
index 66f8384..842e2d9 100644
--- a/share/man/man9/mutex.9
+++ b/share/man/man9/mutex.9
@@ -215,6 +215,18 @@ pointed to by the first argument.
Assert that the current thread
does not hold the mutex
pointed to by the first argument.
+.It
+.Dv MA_RECURSED
+Assert that the current thread has recursed on the mutex
+pointed to by the first argument.
+This assertion is only valid in conjuction with
+.Dv MA_OWNED .
+.It
+.Dv MA_NOTRECURSED
+Assert that the current thread has not recursed on the mutex
+pointed to by the first argument.
+This assertion is only valid in conjuction with
+.Dv MA_OWNED .
.El
.Pp
The
@@ -397,6 +409,9 @@ and is used in conjunction with mutexes declared with
to initialize mutexes that are needed before
.Xr malloc 9
is available for use.
+.It Dv MTX_QUIET
+This option is used to quiet logging messages during mutex operations.
+This can be used to trim superfluous logging messages for debugging purposes.
.El
.Sh HISTORY
These
OpenPOWER on IntegriCloud