From 5c076dd6075d3d5ed1468531d618e83e65f007df Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 13 Dec 2000 23:30:43 +0000 Subject: Document the MA_RECURSED and MA_NOTRECURSED assertion flags as well as the MTX_QUIET flag. --- share/man/man9/mutex.9 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- cgit v1.1