64 template<
typename T_Mutex>
#define CODI_INLINE
See codi::Config::ForcedInlines.
Definition config.h:457
#define CODI_DD(Type, Default)
Abbreviation for CODI_DECLARE_DEFAULT.
Definition macros.hpp:94
CoDiPack - Code Differentiation Package.
Definition codi.hpp:90
RAII mutex locking.
Definition mutexInterface.hpp:65
~Lock()
Destructor. Unlocks the mutex.
Definition mutexInterface.hpp:80
Lock(Mutex &mutex)
Definition mutexInterface.hpp:75
T_Mutex Mutex
See Lock.
Definition mutexInterface.hpp:67
Abstracts a mutex.
Definition mutexInterface.hpp:47
void initialize()
Initialize the mutex.
void unlock()
Unlock the mutex.
void finalize()
Finalize the mutex.
~MutexInterface()
Destructor.
Definition mutexInterface.hpp:50
MutexInterface()
Constructor.
Definition mutexInterface.hpp:49
void lock()
Lock the mutex.