CoDiPack  3.1.2
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.
 inlineOpenMPMutex ()
 Constructor.
void lock ()
 Lock the mutex.
void unlock ()
 Unlock the mutex.
 ~OpenMPMutex ()
 Destructor.
Public Member Functions inherited from codi::MutexInterface
inlinevoid finalize ()
 Finalize the mutex.
inlinevoid initialize ()
 Initialize the mutex.
 inlineMutexInterface ()
 Constructor.
inlinevoid lock ()
 Lock the mutex.
inlinevoid 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: