|
MrSID Decode SDK for LiDAR Reference Manual
1.1.4.4709
|
MutexMonitor use Resource Acquisition Is Initialization (RAII) to mutex lock blocks of code.
#include <Mutex.h>
Public Member Functions | |
| MutexMonitor (Mutex &mutex) | |
| Lock the mutex. | |
| ~MutexMonitor (void) | |
| Unlock the mutex. | |
| MutexMonitor::MutexMonitor | ( | Mutex & | mutex | ) | [inline] |
Definition at line 60 of file Mutex.h.
References Mutex::lock().
| MutexMonitor::~MutexMonitor | ( | void | ) | [inline] |
Definition at line 67 of file Mutex.h.
References Mutex::unlock().