![]() |
Kea 2.2.0
|
Unlock Guard. More...
#include <unlock_guard.h>
Inheritance diagram for isc::util::UnlockGuard< Mutex >:Public Member Functions | |
| UnlockGuard (Mutex &lock) | |
| Constructor. More... | |
| ~UnlockGuard () | |
| Destructor. More... | |
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 |