| 60 | return __sync_sub_and_fetch(dst, 1); |
| 61 | } |
| 62 | FORCE_INLINE static int64 InterlockedAdd(int64 volatile* dst, int64 value) |
| 63 | { |
| 64 | return __sync_fetch_and_add(dst, value); |
| 65 | } |
| 66 | FORCE_INLINE static int32 AtomicRead(int32 const volatile* dst) |
| 67 | { |
| 68 | #ifdef __EMSCRIPTEN_PTHREADS__ |
no outgoing calls
no test coverage detected