![]() |
Kea 3.0.0
|
Unlock Guard. More...
#include <unlock_guard.h>
Public Member Functions | |
| UnlockGuard (Mutex &lock) | |
| Constructor. | |
| ~UnlockGuard () | |
| Destructor. | |
Unlock Guard.
Acts as a reverse std::lock_guard.
| Mutex | a mutex object. |
Definition at line 21 of file unlock_guard.h.
|
inlineexplicit |
Constructor.
Unlock mutex object on constructor.
| lock | the mutex used for unlocking and locking. |
Definition at line 28 of file unlock_guard.h.
|
inline |