BDE 4.14.0 Production release
|
#include <bslmt_mutexassert.h>
Static Public Member Functions | |
static void | assertIsLockedImpl (Mutex *mutex, const char *text, const char *file, int line) |
This struct
provides a (component private) namespace for implementation functions of the assert macros defined in this component. This class should not be used directly in client code.
|
static |
If the specified mutex
is not locked, call bsls::Assert::invokeHandler
with the specified text
, file
, and line
, where text
is text describing the assertion being performed, file
is the name of the source file that called the macro, and line
is the line number in the file where the macro was called. This function is intended to implement BSLMT_MUTEXASSERT_IS_LOCKED
, BSLMT_MUTEXASSERT_IS_LOCKED_SAFE
, and BSLMT_MUTEXASSERT_IS_LOCKED_OPT
and should not otherwise be called directly.