31 #ifndef CPL_ATOMIC_OPS_INCLUDED 32 #define CPL_ATOMIC_OPS_INCLUDED 61 int CPL_DLL CPLAtomicAdd(
volatile int* ptr,
int increment);
72 #define CPLAtomicInc(ptr) CPLAtomicAdd(ptr, 1) 83 #define CPLAtomicDec(ptr) CPLAtomicAdd(ptr, -1) 101 int CPLAtomicCompareAndExchange(
volatile int* ptr,
int oldval,
int newval);
#define CPL_C_START
Definition: cpl_port.h:352
#define CPL_C_END
Definition: cpl_port.h:354