AssertLockNotHeldInline

AssertLockNotHeldInline overloads

Synopses

Declared in <sync.h>

Assert that a GlobalMutex is not held in the surrounding scope.

void
AssertLockNotHeldInline(
    char const* name,
    char const* file,
    int line,
    GlobalMutex* cs);
» more...

Assert that a Mutex is not held, carrying the negative capability for analysis.

void
AssertLockNotHeldInline(
    char const* name,
    char const* file,
    int line,
    Mutex* cs);
» more...

Assert that a RecursiveMutex is not held in the surrounding scope.

void
AssertLockNotHeldInline(
    char const* name,
    char const* file,
    int line,
    RecursiveMutex* cs);
» more...

Parameters

NameDescription
nameName of the mutex.
fileSource file of the caller.
lineSource line of the caller.
csMutex expected not to be held.