| SDL_SetAtomicU32(3) | SDL3 FUNCTIONS | SDL_SetAtomicU32(3) |
SDL_SetAtomicU32 - Set an atomic variable to a value.
Defined in SDL3/SDL_atomic.h
#include "SDL3/SDL.h"
Uint32 SDL_SetAtomicU32(SDL_AtomicU32 *a, Uint32 v);
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!
( Uint32 ) Returns the previous value of the atomic variable.
It is safe to call this function from any thread.
This function is available since SDL 3.2.0.
•(3), SDL_GetAtomicU32(3)
| SDL 3.2.10 | Simple Directmedia Layer |