AssertLockNotHeldInline

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

Synopsis

Declared in <sync.h>

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

Parameters

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