[#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(0x7f2e18926bd8), locks&lowbar;excluded(0x7f2e18c0cf38), locks&lowbar;excluded(0x7f2e324d6308), locks&lowbar;excluded(0x7f2e402500b8), locks&lowbar;excluded(0x7f2e36f50798), locks&lowbar;excluded(0x7f2e2a2fb718), locks&lowbar;excluded(0x7f2e37b23808), locks&lowbar;excluded(0x7f2e33bb3658), locks&lowbar;excluded(0x7f2e3b4d10f8), locks&lowbar;excluded(0x7f2e22082e28), locks&lowbar;excluded(0x7f2e25f2fba8), locks&lowbar;excluded(0x7f2e42e7d8f8), locks&lowbar;excluded(0x7f2e3ba24378), locks&lowbar;excluded(0x7f2e31c43708), locks&lowbar;excluded(0x7f2e2259f478), locks&lowbar;excluded(0x7f2e32361458), locks&lowbar;excluded(0x7f2e362323c8), locks&lowbar;excluded(0x7f2e23dd3a68), locks&lowbar;excluded(0x7f2e1c703968), locks&lowbar;excluded(0x7f2e21ec5c58), locks&lowbar;excluded(0x7f2e3043c198), locks&lowbar;excluded(0x7f2e36beffd8), locks&lowbar;excluded(0x7f2e33a491f8), locks&lowbar;excluded(0x7f2e22536e58), locks&lowbar;excluded(0x7f2e1bc262d8), locks&lowbar;excluded(0x7f2e29c67998), locks&lowbar;excluded(0x7f2e19a582d8), locks&lowbar;excluded(0x7f2e146d24a8), locks&lowbar;excluded(0x7f2e41a69898), locks&lowbar;excluded(0x7f2e36f48d78), locks&lowbar;excluded(0x7f2e1be5dd88), locks&lowbar;excluded(0x7f2e30e41118), locks&lowbar;excluded(0x7f2e29ccf5d8), locks&lowbar;excluded(0x7f2e3aa8c508), locks&lowbar;excluded(0x7f2e43f1f968), locks&lowbar;excluded(0x7f2e30e17228), locks&lowbar;excluded(0x7f2e2320dce8), locks&lowbar;excluded(0x7f2e362da738), locks&lowbar;excluded(0x7f2e1419b758), locks&lowbar;excluded(0x7f2e357b6078), locks&lowbar;excluded(0x7f2e1889ec98), locks&lowbar;excluded(0x7f2e24901758), locks&lowbar;excluded(0x7f2e2857d1a8), locks&lowbar;excluded(0x7f2e3ad579d8), locks&lowbar;excluded(0x7f2e33768398), locks&lowbar;excluded(0x7f2e370edbd8), locks&lowbar;excluded(0x7f2e30c08078), locks&lowbar;excluded(0x7f2e2a6ae898), locks&lowbar;excluded(0x7f2e0800a2e8), locks&lowbar;excluded(0x7f2e3ab4a858), locks&lowbar;excluded(0x7f2e26d2c5c8), locks&lowbar;excluded(0x7f2e1d2c5dc8), locks&lowbar;excluded(0x7f2e08461ca8), locks&lowbar;excluded(0x7f2e1c5989b8), locks&lowbar;excluded(0x7f2e38a0d648), locks&lowbar;excluded(0x7f2e1405ffc8), locks&lowbar;excluded(0x7f2e1975e998), locks&lowbar;excluded(0x7f2e2ab5f1e8), locks&lowbar;excluded(0x7f2e42e808e8), locks&lowbar;excluded(0x7f2e24180bc8), locks&lowbar;excluded(0x7f2e3a6c4958), locks&lowbar;excluded(0x7f2e11f15048), locks&lowbar;excluded(0x7f2e1446a238), locks&lowbar;excluded(0x7f2e19a77018), locks&lowbar;excluded(0x7f2e297b80d8), locks&lowbar;excluded(0x7f2e31e45c38), locks&lowbar;excluded(0x7f2e395de998), locks&lowbar;excluded(0x7f2e403c4a48), locks&lowbar;excluded(0x7f2e3103d018), locks&lowbar;excluded(0x7f2e222306b8), locks&lowbar;excluded(0x7f2e1b6767b8), locks&lowbar;excluded(0x7f2e33024b88), locks&lowbar;excluded(0x7f2e36fe1d38), locks&lowbar;excluded(0x7f2e38408528), locks&lowbar;excluded(0x7f2e239269b8), locks&lowbar;excluded(0x7f2e28ce1968), locks&lowbar;excluded(0x7f2e31264df8), locks&lowbar;excluded(0x7f2e35be71e8), locks&lowbar;excluded(0x7f2e1e8a7e88)&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]#
