Kea  2.1.7-git
readwrite_mutex.h File Reference

Standard implementation of read-write mutexes with writer preference using C++11 mutex and condition variable. More...

#include <exceptions/exceptions.h>
#include <boost/noncopyable.hpp>
#include <climits>
#include <condition_variable>
#include <mutex>
+ Include dependency graph for readwrite_mutex.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  isc::util::ReadLockGuard
 Read mutex RAII handler. More...
 
class  isc::util::ReadWriteMutex
 Read-Write Mutex. More...
 
class  isc::util::WriteLockGuard
 Write mutex RAII handler. More...
 

Namespaces

 isc
 Defines the logger used by the top-level component of kea-lfc.
 
 isc::util
 

Detailed Description

Standard implementation of read-write mutexes with writer preference using C++11 mutex and condition variable.

As we need only the RAII wrappers implement only used methods.

Definition in file readwrite_mutex.h.