24 #if defined(_MT) // MULTITHREADED: WITH SYNC ------------
25 CRITICAL_SECTION sync;
28 ThreadSync() { ::InitializeCriticalSection(&sync); }
31 void acquire() { ::EnterCriticalSection(&sync); }
32 void release() { ::LeaveCriticalSection(&sync); }
34 #else // SINGLE THREADED: NO SYNC ------------