AssertLockNotHeldInternal

Assert that the given mutex is not held by the current thread.

Synopsis

Declared in <sync.h>

template<typename MutexType>
void
AssertLockNotHeldInternal(
    char const* pszName,
    char const* pszFile,
    int nLine,
    MutexType* cs);

Parameters

NameDescription
pszNameName of the mutex.
pszFileSource file of the caller.
nLineSource line of the caller.
csMutex expected not to be held.