Acquire the critical section, and release it when the macro call goes out of scope.

Synopsis

Declared in <bslmt_testutil.h>

#define BSLMT_TESTUTIL_GUARD

Description

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

Created with MrDocs