Newer
Older
invertedlogic / InvertedLogic / iLPlatform / iLAtomics.h
@John Ryland John Ryland on 10 Nov 2019 497 bytes rename
#ifndef IL_ATOMICS_H
#define IL_ATOMICS_H


#include "iLTypes.h"


int32_t iLAtomic_CompareAndSwap32(iLAtomic32* a_ptr, int32_t a_comparand, int32_t a_val);
int64_t iLAtomic_CompareAndSwap64(iLAtomic64* a_ptr, int64_t a_comparand, int64_t a_val);

int32_t iLAtomic_Increment32(iLAtomic32* a_ptr);
int64_t iLAtomic_Increment64(iLAtomic64* a_ptr);
int32_t iLAtomic_Decrement32(iLAtomic32* a_ptr);
int64_t iLAtomic_Decrement64(iLAtomic64* a_ptr);


#include "iLAtomics.inl"


#endif // IL_ATOMICS_H