Kea 2.7.4
|
Write mutex RAII handler. More...
#include <readwrite_mutex.h>
Public Member Functions | |
WriteLockGuard (ReadWriteMutex &rw_mutex) | |
Constructor. | |
virtual | ~WriteLockGuard () |
Destructor. | |
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().