AssertLockNotHeldInline overloads
Synopses
Declared in <sync.h>
Assert that a GlobalMutex is not held in the surrounding scope.
void
AssertLockNotHeldInline(
char const* name,
char const* file,
int line,
GlobalMutex* cs);
Assert that a Mutex is not held, carrying the negative capability for analysis.
void
AssertLockNotHeldInline(
char const* name,
char const* file,
int line,
Mutex* cs);
Assert that a RecursiveMutex is not held in the surrounding scope.
void
AssertLockNotHeldInline(
char const* name,
char const* file,
int line,
RecursiveMutex* cs);
Parameters
Name |
Description |
name |
Name of the mutex. |
file |
Source file of the caller. |
line |
Source line of the caller. |
cs |
Mutex expected not to be held. |
Created with MrDocs