#include <TCMTMutex.h>
Public Member Functions | |
virtual bool | Lock ()=0 |
Lock the mutex, if already locked wait until it get unlocked. | |
virtual bool | TryLock ()=0 |
Try to look the mutex if not locked lock it. | |
virtual bool | TryLock (uint32 millisecs)=0 |
Try to look the mutex within specified time. | |
virtual bool | UnLock ()=0 |
UnLock the mutex. | |
virtual | ~Mutex () |
Definition at line 60 of file TCMTMutex.h.
virtual TC::MT::Mutex::~Mutex | ( | ) | [inline, virtual] |
Definition at line 75 of file TCMTMutex.h.
virtual bool TC::MT::Mutex::Lock | ( | ) | [pure virtual] |
Lock the mutex, if already locked wait until it get unlocked.
virtual bool TC::MT::Mutex::TryLock | ( | ) | [pure virtual] |
Try to look the mutex if not locked lock it.
virtual bool TC::MT::Mutex::TryLock | ( | uint32 | millisecs | ) | [pure virtual] |
Try to look the mutex within specified time.
virtual bool TC::MT::Mutex::UnLock | ( | ) | [pure virtual] |
UnLock the mutex.