1#ifndef MXCRITICALSECTION_H
2#define MXCRITICALSECTION_H
43 CRITICAL_SECTION m_criticalSection;
[AI] Provides a critical section object for mutual exclusion with optional use of OS mutex.
static void SetDoMutex()
[AI] Globally enforces the use of mutexes for all subsequent MxCriticalSection allocation.
void Enter()
[AI] Acquires/gains entry to the critical section or mutex, blocking if not available.
~MxCriticalSection()
[AI] Destroys the critical section object.
void Leave()
[AI] Releases/leaves the critical section or mutex.
MxCriticalSection()
[AI] Constructs the critical section object.