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