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

RAII lock for write. More...

#include <readWriteMutex.hpp>

Public Types

using ReadWriteMutex
 See LockForWrite.
 

Public Member Functions

 LockForWrite (ReadWriteMutex &mutex)
 Constructor. Acquires lock for write access.
 
 ~LockForWrite ()
 Destructor. Releases lock for write access.
 

Detailed Description

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

RAII lock for write.

Template Parameters
T_ReadWriteMutexThe underlying ReadWriteMutex.

Member Typedef Documentation

◆ ReadWriteMutex

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

See LockForWrite.


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