[#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(0x7f2e18926648), locks&lowbar;excluded(0x7f2e18c0c9a8), locks&lowbar;excluded(0x7f2e324d5d78), locks&lowbar;excluded(0x7f2e4024fb28), locks&lowbar;excluded(0x7f2e36f50208), locks&lowbar;excluded(0x7f2e2a2fb188), locks&lowbar;excluded(0x7f2e37b23278), locks&lowbar;excluded(0x7f2e33bb30c8), locks&lowbar;excluded(0x7f2e3b4d0b68), locks&lowbar;excluded(0x7f2e22082898), locks&lowbar;excluded(0x7f2e25f2f618), locks&lowbar;excluded(0x7f2e42e7d368), locks&lowbar;excluded(0x7f2e3ba23de8), locks&lowbar;excluded(0x7f2e31c43178), locks&lowbar;excluded(0x7f2e2259eee8), locks&lowbar;excluded(0x7f2e32360ec8), locks&lowbar;excluded(0x7f2e36231e38), locks&lowbar;excluded(0x7f2e23dd34d8), locks&lowbar;excluded(0x7f2e1c7033d8), locks&lowbar;excluded(0x7f2e21ec56c8), locks&lowbar;excluded(0x7f2e3043bc08), locks&lowbar;excluded(0x7f2e36befa48), locks&lowbar;excluded(0x7f2e33a48c68), locks&lowbar;excluded(0x7f2e225368c8), locks&lowbar;excluded(0x7f2e1bc25d48), locks&lowbar;excluded(0x7f2e29c67408), locks&lowbar;excluded(0x7f2e19a57d48), locks&lowbar;excluded(0x7f2e146d1f18), locks&lowbar;excluded(0x7f2e41a69308), locks&lowbar;excluded(0x7f2e36f487e8), locks&lowbar;excluded(0x7f2e1be5d7f8), locks&lowbar;excluded(0x7f2e30e40b88), locks&lowbar;excluded(0x7f2e29ccf048), locks&lowbar;excluded(0x7f2e3aa8bf78), locks&lowbar;excluded(0x7f2e43f1f3d8), locks&lowbar;excluded(0x7f2e30e16c98), locks&lowbar;excluded(0x7f2e2320d758), locks&lowbar;excluded(0x7f2e362da1a8), locks&lowbar;excluded(0x7f2e1419b1c8), locks&lowbar;excluded(0x7f2e357b5ae8), locks&lowbar;excluded(0x7f2e1889e708), locks&lowbar;excluded(0x7f2e249011c8), locks&lowbar;excluded(0x7f2e2857cc18), locks&lowbar;excluded(0x7f2e3ad57448), locks&lowbar;excluded(0x7f2e33767e08), locks&lowbar;excluded(0x7f2e370ed648), locks&lowbar;excluded(0x7f2e30c07ae8), locks&lowbar;excluded(0x7f2e2a6ae308), locks&lowbar;excluded(0x7f2e08009d58), locks&lowbar;excluded(0x7f2e3ab4a2c8), locks&lowbar;excluded(0x7f2e26d2c038), locks&lowbar;excluded(0x7f2e1d2c5838), locks&lowbar;excluded(0x7f2e08461718), locks&lowbar;excluded(0x7f2e1c598428), locks&lowbar;excluded(0x7f2e38a0d0b8), locks&lowbar;excluded(0x7f2e1405fa38), locks&lowbar;excluded(0x7f2e1975e408), locks&lowbar;excluded(0x7f2e2ab5ec58), locks&lowbar;excluded(0x7f2e42e80358), locks&lowbar;excluded(0x7f2e24180638), locks&lowbar;excluded(0x7f2e3a6c43c8), locks&lowbar;excluded(0x7f2e11f14ab8), locks&lowbar;excluded(0x7f2e14469ca8), locks&lowbar;excluded(0x7f2e19a76a88), locks&lowbar;excluded(0x7f2e297b7b48), locks&lowbar;excluded(0x7f2e31e456a8), locks&lowbar;excluded(0x7f2e395de408), locks&lowbar;excluded(0x7f2e403c44b8), locks&lowbar;excluded(0x7f2e3103ca88), locks&lowbar;excluded(0x7f2e22230128), locks&lowbar;excluded(0x7f2e1b676228), locks&lowbar;excluded(0x7f2e330245f8), locks&lowbar;excluded(0x7f2e36fe17a8), locks&lowbar;excluded(0x7f2e38407f98), locks&lowbar;excluded(0x7f2e23926428), locks&lowbar;excluded(0x7f2e28ce13d8), locks&lowbar;excluded(0x7f2e31264868), locks&lowbar;excluded(0x7f2e35be6c58), locks&lowbar;excluded(0x7f2e1e8a78f8)&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]#
