Set a pointer to a value atomically.
Defined in <SDL3/SDL_atomic.h>
void * SDL_SetAtomicPointer(void **a, void *v);
void ** | a | a pointer to a pointer. |
void * | v | the desired pointer value. |
(void *) 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.1.3.