LogCabin
|
Release a mutex upon construction, reacquires it upon destruction. More...
#include <Mutex.h>
Public Member Functions | |
MutexUnlock (std::unique_lock< Mutex > &guard) | |
~MutexUnlock () | |
Private Attributes | |
std::unique_lock< Mutex > & | guard |
Release a mutex upon construction, reacquires it upon destruction.
Mutex | Type of mutex (either std::mutex or Core::Mutex). |
LogCabin::Core::MutexUnlock< Mutex >::MutexUnlock | ( | std::unique_lock< Mutex > & | guard | ) | [inline, explicit] |
LogCabin::Core::MutexUnlock< Mutex >::~MutexUnlock | ( | ) | [inline] |
std::unique_lock<Mutex>& LogCabin::Core::MutexUnlock< Mutex >::guard [private] |