CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::LockForRead< T_ReadWriteMutex > Struct Template Reference

RAII lock for read. ´ More...

#include <readWriteMutex.hpp>

Public Types

using ReadWriteMutex
 See LockForRead.
 

Public Member Functions

 LockForRead (ReadWriteMutex &mutex)
 Constructor. Acquires lock for read access.
 
 ~LockForRead ()
 Destructor. Releases lock for read access.
 

Detailed Description

template<typename T_ReadWriteMutex>
struct codi::LockForRead< T_ReadWriteMutex >

RAII lock for read. ´

Template Parameters
T_ReadWriteMutexThe underlying ReadWriteMutex.

Member Typedef Documentation

◆ ReadWriteMutex

template<typename T_ReadWriteMutex >
using codi::LockForRead< T_ReadWriteMutex >::ReadWriteMutex
Initial value:
T_ReadWriteMutex

See LockForRead.


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