AssertLockHeldInternal

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

Synopsis

Declared in <sync.h>

template<typename MutexType>
void
AssertLockHeldInternal(
    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 to be held.