[#MaybeCheckNotHeld-07] = MaybeCheckNotHeld :mrdocs: Require negative capability on a Mutex before locking it and pass it through. == Synopsis Declared in `<sync.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:Mutex.adoc[Mutex]& MaybeCheckNotHeld(xref:Mutex.adoc[Mutex]& cs); ---- == Return Value The same mutex reference. == Parameters [cols="1,4"] |=== | Name| Description | *cs* | Mutex about to be locked. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#