MrSID Decode SDK for LiDAR Reference Manual
1.1.3.4427
|
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().