#include <mutexguard.h>
Public Member Functions | |
MutexGuard (Mutex *mutex) | |
MutexGuard (Mutex &mutex) | |
~MutexGuard () |
Definition at line 28 of file mutexguard.h.
MutexGuard | ( | Mutex * | mutex | ) | [inline] |
Contructs a new simple mutex guard and locks the supplied Mutex.
mutex | The Mutex to guard. |
Definition at line 35 of file mutexguard.h.
MutexGuard | ( | Mutex & | mutex | ) | [inline] |
Contructs a new simple mutex guard and locks the supplied Mutex.
mutex | The Mutex to guard. |
Definition at line 41 of file mutexguard.h.
~MutexGuard | ( | ) | [inline] |
Destructor. Releases the guarded Mutex.
Definition at line 46 of file mutexguard.h.