Atomic functions
32 bit signed integer atomic
Atomic increment of an int32_atomic_t.
ptr - Pointer to an int32_atomic_t to increment.
prev - Previous value
Atomic decrement of an int32_atomic_t.
ptr - Pointer to an int32_atomic_t to decrement.
prev - Previous value
Atomic addition of an int32_atomic_t.
ptr - Pointer to an int32_atomic_t to add to.
value - Value to add.
prev - Previous value
Atomic subtraction of an int32_atomic_t.
ptr - Pointer to an int32_atomic_t to subtract from.
value - Value to subtract.
prev - Previous value
Atomic set (or exchange) of an int32_atomic_t.
ptr - Pointer to an int32_atomic_t to store into.
value - Value to set.
prev - Previous value
Atomic set (or exchange) of an int32_atomic_t if comparand is equal to the value of ptr.
ptr - Pointer to an int32_atomic_t to store into.
value - Value to set.
comparand - Value to compare to.
prev - Previous value
Atomic get of an int32_atomic_t
ptr - Pointer to an int32_atomic_t to get from.
value - Current value