PixelLightAPI
.
|
Abstract base class for platform specific 'Mutex' implementations. More...
#include <MutexImpl.h>
Protected Member Functions | |
MutexImpl () | |
Constructor. | |
virtual | ~MutexImpl () |
Destructor. | |
virtual bool | Lock ()=0 |
Locks the mutex. | |
virtual bool | TryLock (uint64 nTimeout)=0 |
Locks the mutex, but only wait until timeout. | |
virtual bool | Unlock ()=0 |
Unlocks the mutex. |
Abstract base class for platform specific 'Mutex' implementations.
PLCore::MutexImpl::MutexImpl | ( | ) | [protected] |
virtual PLCore::MutexImpl::~MutexImpl | ( | ) | [protected, virtual] |
Destructor.
virtual bool PLCore::MutexImpl::Lock | ( | ) | [protected, pure virtual] |
Locks the mutex.
virtual bool PLCore::MutexImpl::TryLock | ( | uint64 | nTimeout | ) | [protected, pure virtual] |
Locks the mutex, but only wait until timeout.
[in] | nTimeout | Timeout in milliseconds |
virtual bool PLCore::MutexImpl::Unlock | ( | ) | [protected, pure virtual] |
Unlocks the mutex.
|