[#AssertLockNotHeldInline-059]
= AssertLockNotHeldInline
:mrdocs:

Assert that a RecursiveMutex is not held in the surrounding scope&period;

== Synopsis

Declared in `&lt;sync&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;locks&lowbar;excluded(0x7f950083e168), locks&lowbar;excluded(0x7f9525cc3a48), locks&lowbar;excluded(0x7f950db6ed58), locks&lowbar;excluded(0x7f951f575278), locks&lowbar;excluded(0x7f950c1858c8), locks&lowbar;excluded(0x7f950e1b0638), locks&lowbar;excluded(0x7f9522ff3d08), locks&lowbar;excluded(0x7f9500ef9a68), locks&lowbar;excluded(0x7f951414b898), locks&lowbar;excluded(0x7f950a0413f8), locks&lowbar;excluded(0x7f9502084528), locks&lowbar;excluded(0x7f9515b26808), locks&lowbar;excluded(0x7f9527a06438), locks&lowbar;excluded(0x7f951c791848), locks&lowbar;excluded(0x7f95220d2b48), locks&lowbar;excluded(0x7f9503cc46c8), locks&lowbar;excluded(0x7f9527b08c48), locks&lowbar;excluded(0x7f950db493c8), locks&lowbar;excluded(0x7f9525eeb948), locks&lowbar;excluded(0x7f9521a96858), locks&lowbar;excluded(0x7f951f7bec78), locks&lowbar;excluded(0x7f9527a6ce08), locks&lowbar;excluded(0x7f9500b187c8), locks&lowbar;excluded(0x7f950f38db08), locks&lowbar;excluded(0x7f950345c8a8), locks&lowbar;excluded(0x7f9508338108), locks&lowbar;excluded(0x7f95039ca818), locks&lowbar;excluded(0x7f9513c125f8), locks&lowbar;excluded(0x7f950fa38d68), locks&lowbar;excluded(0x7f94f8955638), locks&lowbar;excluded(0x7f951d58f848), locks&lowbar;excluded(0x7f95171593a8), locks&lowbar;excluded(0x7f95088af188), locks&lowbar;excluded(0x7f951e61f458), locks&lowbar;excluded(0x7f950f8a4b08), locks&lowbar;excluded(0x7f94f0884dc8), locks&lowbar;excluded(0x7f950e0feec8), locks&lowbar;excluded(0x7f9527a4df28), locks&lowbar;excluded(0x7f95104af0f8), locks&lowbar;excluded(0x7f950bbe0a98), locks&lowbar;excluded(0x7f9517b735c8), locks&lowbar;excluded(0x7f951ea6f218), locks&lowbar;excluded(0x7f950a1ffaf8), locks&lowbar;excluded(0x7f9527c38f78), locks&lowbar;excluded(0x7f9513f859b8), locks&lowbar;excluded(0x7f9523f0ddd8), locks&lowbar;excluded(0x7f9516a0c1f8), locks&lowbar;excluded(0x7f950366f938), locks&lowbar;excluded(0x7f9513c3a218), locks&lowbar;excluded(0x7f9526262cc8), locks&lowbar;excluded(0x7f9523c2b9b8), locks&lowbar;excluded(0x7f951d29f858), locks&lowbar;excluded(0x7f952678a888), locks&lowbar;excluded(0x7f950165c0f8), locks&lowbar;excluded(0x7f9525ee5a28), locks&lowbar;excluded(0x7f9523c26fb8), locks&lowbar;excluded(0x7f9509275518), locks&lowbar;excluded(0x7f951c5a9ff8), locks&lowbar;excluded(0x7f950c2e9148), locks&lowbar;excluded(0x7f95125076e8), locks&lowbar;excluded(0x7f950813cfc8), locks&lowbar;excluded(0x7f95066e9778), locks&lowbar;excluded(0x7f9510f4f7b8), locks&lowbar;excluded(0x7f9501a121b8), locks&lowbar;excluded(0x7f9508b7ca58), locks&lowbar;excluded(0x7f952165c018), locks&lowbar;excluded(0x7f9517b0b2b8), locks&lowbar;excluded(0x7f9502e50468), locks&lowbar;excluded(0x7f950da82168), locks&lowbar;excluded(0x7f94fc84ffd8), locks&lowbar;excluded(0x7f94f8a849b8), locks&lowbar;excluded(0x7f951fe7ddb8), locks&lowbar;excluded(0x7f94f0669dc8), locks&lowbar;excluded(0x7f9525039308), locks&lowbar;excluded(0x7f950697af28), locks&lowbar;excluded(0x7f9515b83b38), locks&lowbar;excluded(0x7f950384d668), locks&lowbar;excluded(0x7f951494c7f8), locks&lowbar;excluded(0x7f95157b5fa8)&rsqb;&rsqb;
void
AssertLockNotHeldInline(
    char const* name,
    char const* file,
    int line,
    xref:RecursiveMutex.adoc[RecursiveMutex]* cs);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| Name of the mutex&period;
| *file*
| Source file of the caller&period;
| *line*
| Source line of the caller&period;
| *cs*
| Mutex expected not to be held&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
