21 #define _WIN32_WINNT 0x0501 // needed for TryEnterCriticalSection
34 ::InitializeCriticalSection(&fCritSect);
59 if (::TryEnterCriticalSection(&
fCritSect))
ClassImp(TWin32Mutex) TWin32Mutex
Create a Win32 mutex lock.
Int_t UnLock()
Unlock the mutex.
Int_t Lock()
Lock the mutex.
CRITICAL_SECTION fCritSect
Int_t TryLock()
Try locking the mutex. Returns 0 if mutex can be locked.
virtual ~TWin32Mutex()
TMutex dtor.