|
Devel Lib
|
A lock guard class for a recursive mutex. More...
#include <LockGuard.h>
Public Member Functions | |
| CLockGuard (const CMutex &i_oMutex) | |
| Constructs a CLockGuard and acquires the lock on the specified mutex. More... | |
| ~CLockGuard () | |
| Destroys the CLockGuard and releases the lock on the mutex. | |
A lock guard class for a recursive mutex.
This class provides a convenient way to acquire and release a lock on a recursive mutex.
Example usage:
|
inline |
Constructs a CLockGuard and acquires the lock on the specified mutex.
| i_oMutex | The recursive mutex to lock. |