AssertLockNotHeldInline

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

Synopsis

Declared in <sync.h>

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

Parameters

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