Open Lighting Architecture
Latest Git
|
A Mutex object
Public Member Functions | |
Mutex () | |
~Mutex () | |
void | Lock () |
bool | TryLock () |
void | Unlock () |
Friends | |
class | ConditionVariable |
ola::thread::Mutex::Mutex | ( | ) |
Construct a new mutex object
ola::thread::Mutex::~Mutex | ( | ) |
Clean up
void ola::thread::Mutex::Lock | ( | ) |
Lock this mutex
bool ola::thread::Mutex::TryLock | ( | ) |
Try and lock this mutex
void ola::thread::Mutex::Unlock | ( | ) |
Unlock this mutex