| 272 | static FORCEINLINE void atomic_store32(atomic32_t* dst, int32_t val) { *dst = val; } |
| 273 | static FORCEINLINE int32_t atomic_incr32(atomic32_t* val) { return (int32_t)InterlockedIncrement(val); } |
| 274 | static FORCEINLINE int32_t atomic_decr32(atomic32_t* val) { return (int32_t)InterlockedDecrement(val); } |
| 275 | static FORCEINLINE int32_t atomic_add32(atomic32_t* val, int32_t add) { return (int32_t)InterlockedExchangeAdd(val, add) + add; } |
| 276 | static FORCEINLINE int atomic_cas32_acquire(atomic32_t* dst, int32_t val, int32_t ref) { return (InterlockedCompareExchange(dst, val, ref) == ref) ? 1 : 0; } |
| 277 | static FORCEINLINE void atomic_store32_release(atomic32_t* dst, int32_t val) { *dst = val; } |
no outgoing calls
no test coverage detected