bool IsLockedByCurrentThread(void)
Returns true if the CS is currently locked by the thread calling this function.
std::thread::id m_OwningThreadID
ID of the thread that is currently holding the CS.
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
bool IsLocked(void)
Returns true if the CS is currently locked.
int m_RecursionCount
Number of times that this CS is currently locked (levels of recursion).
Temporary RAII unlock for a cCSLock.
std::recursive_mutex m_Mutex
RAII for cCriticalSection - locks the CS on creation, unlocks on destruction.