Kea 2.7.6
|
Read mutex RAII handler. More...
#include <readwrite_mutex.h>
Public Member Functions | |
ReadLockGuard (ReadWriteMutex &rw_mutex) | |
Constructor. | |
virtual | ~ReadLockGuard () |
Destructor. | |
Read mutex RAII handler.
The constructor acquires the lock, the destructor releases it.
Definition at line 140 of file readwrite_mutex.h.
|
inline |
Constructor.
rw_mutex | The read mutex. |
Definition at line 146 of file readwrite_mutex.h.
References isc::util::ReadWriteMutex::readLock().
|
inlinevirtual |
Destructor.
Definition at line 151 of file readwrite_mutex.h.
References isc::util::ReadWriteMutex::readUnlock().