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

Name

Description

pszName

Name of the mutex.

pszFile

Source file of the caller.

nLine

Source line of the caller.

cs

Mutex expected not to be held.

Created with MrDocs