39#include "../threadInformationInterface.hpp"
40#include "openMPAtomic.hpp"
62 static int myThreadId = -1;
63 CODI_OMP_THREADPRIVATE(myThreadId)
65 if (myThreadId == -1) {
66 myThreadId = nextThreadId++;
#define CODI_INLINE
See codi::Config::ForcedInlines.
Definition config.h:457
#define codiAssert(x)
See codi::Config::EnableAssert.
Definition config.h:432
CoDiPack - Code Differentiation Package.
Definition codi.hpp:91
Atomic implementation for OpenMP.
Definition openMPAtomic.hpp:61