#include <CATMutex.h>
CATMutex provides a per-thread synchronization object. While one thread owns a mutex, another may not receive it and will have to wait until it is released. A single thread, however, will not be forced to wait if it tries to acquire the mutex twice before releasing it - just make sure to call Release() for each Wait().
Definition at line 27 of file CATMutex.h.
Public Member Functions | |
CATMutex () | |
virtual | ~CATMutex () |
CATResult | Wait (CATUInt32 milliseconds=0xFFFFFFFF) |
CATResult | Release () |
Private Member Functions | |
CATMutex & | operator= (const CATMutex &srcMutex) |
Private Attributes | |
HANDLE | fMutexHandle |