Set an atomic variable to a value.
This function also acts as a full memory barrier.
***Note: If you don't know what this function is for, you shouldn't use it!***
a pointer to an SDL_AtomicInt variable to be modified.
the desired value.
the previous value of the atomic variable.
SDL_GetAtomicInt
Threadsafety: It is safe to call this function from any thread.
See Implementation
Available since SDL 3.2.0.
Set an atomic variable to a value.
This function also acts as a full memory barrier.
***Note: If you don't know what this function is for, you shouldn't use it!***