Kea  2.3.3-git
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)
inline

Constructor.

Parameters
rw_mutexThe read mutex.

Definition at line 146 of file readwrite_mutex.h.

◆ ~ReadLockGuard()

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

Destructor.

Definition at line 151 of file readwrite_mutex.h.


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