Set a pointer to a value atomically.
Defined in <SDL3/SDL_atomic.h>
a | a pointer to a pointer |
v | the desired pointer value |
Returns the previous value of the pointer.
Note: If you don't know what this function is for, you shouldn't use it!
It is safe to call this function from any thread.
This function is available since SDL 3.0.0.