CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::OpenMPMutex Struct Reference

Mutex implementation for OpenMP. More...

#include <openMPMutex.hpp>

Inheritance diagram for codi::OpenMPMutex:

Public Member Functions

void finalize ()
 Finalize the mutex.
 
void initialize ()
 Initialize the mutex.
 
void lock ()
 Lock the mutex.
 
 OpenMPMutex ()
 Constructor.
 
void unlock ()
 Unlock the mutex.
 
 ~OpenMPMutex ()
 Destructor.
 
- Public Member Functions inherited from codi::MutexInterface
void finalize ()
 Finalize the mutex.
 
void initialize ()
 Initialize the mutex.
 
void lock ()
 Lock the mutex.
 
 MutexInterface ()
 Constructor.
 
void unlock ()
 Unlock the mutex.
 
 ~MutexInterface ()
 Destructor.
 

Detailed Description

Mutex implementation for OpenMP.

Member Function Documentation

◆ finalize()

void codi::OpenMPMutex::finalize ( )
inline

Finalize the mutex.

◆ initialize()

void codi::OpenMPMutex::initialize ( )
inline

Initialize the mutex.

◆ lock()

void codi::OpenMPMutex::lock ( )
inline

Lock the mutex.

◆ unlock()

void codi::OpenMPMutex::unlock ( )
inline

Unlock the mutex.


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