Open Lighting Architecture
0.9.1
|
A convenience class to lock mutexes. The mutex is unlocked when this object is destroyed.
Public Member Functions | |
MutexLocker (Mutex *mutex) | |
~MutexLocker () |
|
explicit |
Create a new MutexLocker and lock the mutex.
ola::thread::MutexLocker::~MutexLocker | ( | ) |
Destroy this MutexLocker and unlock the mutex