[#AssertLockNotHeldInline-0c8]
= AssertLockNotHeldInline
:mrdocs:

Assert that a GlobalMutex 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(0x7f950083e6f8), locks&lowbar;excluded(0x7f9525cc3fd8), locks&lowbar;excluded(0x7f950db6f2e8), locks&lowbar;excluded(0x7f951f575808), locks&lowbar;excluded(0x7f950c185e58), locks&lowbar;excluded(0x7f950e1b0bc8), locks&lowbar;excluded(0x7f9522ff4298), locks&lowbar;excluded(0x7f9500ef9ff8), locks&lowbar;excluded(0x7f951414be28), locks&lowbar;excluded(0x7f950a041988), locks&lowbar;excluded(0x7f9502084ab8), locks&lowbar;excluded(0x7f9515b26d98), locks&lowbar;excluded(0x7f9527a069c8), locks&lowbar;excluded(0x7f951c791dd8), locks&lowbar;excluded(0x7f95220d30d8), locks&lowbar;excluded(0x7f9503cc4c58), locks&lowbar;excluded(0x7f9527b091d8), locks&lowbar;excluded(0x7f950db49958), locks&lowbar;excluded(0x7f9525eebed8), locks&lowbar;excluded(0x7f9521a96de8), locks&lowbar;excluded(0x7f951f7bf208), locks&lowbar;excluded(0x7f9527a6d398), locks&lowbar;excluded(0x7f9500b18d58), locks&lowbar;excluded(0x7f950f38e098), locks&lowbar;excluded(0x7f950345ce38), locks&lowbar;excluded(0x7f9508338698), locks&lowbar;excluded(0x7f95039cada8), locks&lowbar;excluded(0x7f9513c12b88), locks&lowbar;excluded(0x7f950fa392f8), locks&lowbar;excluded(0x7f94f8955bc8), locks&lowbar;excluded(0x7f951d58fdd8), locks&lowbar;excluded(0x7f9517159938), locks&lowbar;excluded(0x7f95088af718), locks&lowbar;excluded(0x7f951e61f9e8), locks&lowbar;excluded(0x7f950f8a5098), locks&lowbar;excluded(0x7f94f0885358), locks&lowbar;excluded(0x7f950e0ff458), locks&lowbar;excluded(0x7f9527a4e4b8), locks&lowbar;excluded(0x7f95104af688), locks&lowbar;excluded(0x7f950bbe1028), locks&lowbar;excluded(0x7f9517b73b58), locks&lowbar;excluded(0x7f951ea6f7a8), locks&lowbar;excluded(0x7f950a200088), locks&lowbar;excluded(0x7f9527c39508), locks&lowbar;excluded(0x7f9513f85f48), locks&lowbar;excluded(0x7f9523f0e368), locks&lowbar;excluded(0x7f9516a0c788), locks&lowbar;excluded(0x7f950366fec8), locks&lowbar;excluded(0x7f9513c3a7a8), locks&lowbar;excluded(0x7f9526263258), locks&lowbar;excluded(0x7f9523c2bf48), locks&lowbar;excluded(0x7f951d29fde8), locks&lowbar;excluded(0x7f952678ae18), locks&lowbar;excluded(0x7f950165c688), locks&lowbar;excluded(0x7f9525ee5fb8), locks&lowbar;excluded(0x7f9523c27548), locks&lowbar;excluded(0x7f9509275aa8), locks&lowbar;excluded(0x7f951c5aa588), locks&lowbar;excluded(0x7f950c2e96d8), locks&lowbar;excluded(0x7f9512507c78), locks&lowbar;excluded(0x7f950813d558), locks&lowbar;excluded(0x7f95066e9d08), locks&lowbar;excluded(0x7f9510f4fd48), locks&lowbar;excluded(0x7f9501a12748), locks&lowbar;excluded(0x7f9508b7cfe8), locks&lowbar;excluded(0x7f952165c5a8), locks&lowbar;excluded(0x7f9517b0b848), locks&lowbar;excluded(0x7f9502e509f8), locks&lowbar;excluded(0x7f950da826f8), locks&lowbar;excluded(0x7f94fc850568), locks&lowbar;excluded(0x7f94f8a84f48), locks&lowbar;excluded(0x7f951fe7e348), locks&lowbar;excluded(0x7f94f066a358), locks&lowbar;excluded(0x7f9525039898), locks&lowbar;excluded(0x7f950697b4b8), locks&lowbar;excluded(0x7f9515b840c8), locks&lowbar;excluded(0x7f950384dbf8), locks&lowbar;excluded(0x7f951494cd88), locks&lowbar;excluded(0x7f95157b6538)&rsqb;&rsqb;
void
AssertLockNotHeldInline(
    char const* name,
    char const* file,
    int line,
    xref:GlobalMutex.adoc[GlobalMutex]* 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]#
