[#BSLMT_TESTUTIL_GUARD]
= BSLMT&lowbar;TESTUTIL&lowbar;GUARD
:mrdocs:

Acquire the critical section, and release it when the macro call goes out of scope&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;testutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define BSLMT&lowbar;TESTUTIL&lowbar;GUARD

----

== Description

If the critical section is already held by the current thread, this can still be used with no additional effect&period;


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