Kea 2.5.5
isc::util::ReadLockGuard Class Reference

Read mutex RAII handler. More...

#include <readwrite_mutex.h>

+ Inheritance diagram for isc::util::ReadLockGuard:

Public Member Functions

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

Detailed Description

Read mutex RAII handler.

The constructor acquires the lock, the destructor releases it.

Definition at line 140 of file readwrite_mutex.h.

Constructor & Destructor Documentation

◆ ReadLockGuard()

isc::util::ReadLockGuard::ReadLockGuard ( ReadWriteMutex rw_mutex)


rw_mutexThe read mutex.

Definition at line 146 of file readwrite_mutex.h.

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

+ Here is the call graph for this function:

◆ ~ReadLockGuard()

virtual isc::util::ReadLockGuard::~ReadLockGuard ( )


Definition at line 151 of file readwrite_mutex.h.

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

+ Here is the call graph for this function:

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