Kea
1.9.9-git
|
Write mutex RAII handler. More...
#include <readwrite_mutex.h>
Public Member Functions | |
WriteLockGuard (ReadWriteMutex &rw_mutex) | |
Constructor. More... | |
virtual | ~WriteLockGuard () |
Destructor. More... | |
Write mutex RAII handler.
The constructor acquires the lock, the destructor releases it.
Definition at line 164 of file readwrite_mutex.h.
|
inline |
Constructor.
rw_mutex | The write mutex. |
Definition at line 170 of file readwrite_mutex.h.
References isc::util::ReadWriteMutex::writeLock().
|
inlinevirtual |
Destructor.
Definition at line 175 of file readwrite_mutex.h.
References isc::util::ReadWriteMutex::writeUnlock().