21#define _WIN32_WINNT 0x0501
59 if (::TryEnterCriticalSection(&
fCritSect))
virtual ~TWin32Mutex()
TMutex dtor.
Int_t UnLock()
Unlock the mutex.
TWin32Mutex(Bool_t recursive=kFALSE)
Create a Win32 mutex lock.
Int_t Lock()
Lock the mutex.
CRITICAL_SECTION fCritSect
Int_t TryLock()
Try locking the mutex. Returns 0 if mutex can be locked.