Kea  1.9.9-git
isc::util::WriteLockGuard Class Reference

Write mutex RAII handler. More...

#include <readwrite_mutex.h>

+ Inheritance diagram for isc::util::WriteLockGuard:

Public Member Functions

 WriteLockGuard (ReadWriteMutex &rw_mutex)
 Constructor. More...
virtual ~WriteLockGuard ()
 Destructor. More...

Detailed Description

Write mutex RAII handler.

The constructor acquires the lock, the destructor releases it.

Definition at line 164 of file readwrite_mutex.h.

Constructor & Destructor Documentation

isc::util::WriteLockGuard::WriteLockGuard ( ReadWriteMutex rw_mutex)


rw_mutexThe write mutex.

Definition at line 170 of file readwrite_mutex.h.

References isc::util::ReadWriteMutex::writeLock().

+ Here is the call graph for this function:

virtual isc::util::WriteLockGuard::~WriteLockGuard ( )


Definition at line 175 of file readwrite_mutex.h.

References isc::util::ReadWriteMutex::writeUnlock().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: