Function SDL_GetAtomicInt
pub unsafe extern "C" fn SDL_GetAtomicInt(
a: *mut SDL_AtomicInt,
) -> i32
Available on crate feature
dep_sdl3
only.Expand description
Get the value of an atomic variable.
Note: If you don’t know what this function is for, you shouldn’t use it!
§Parameters
a
: a pointer to anSDL_AtomicInt
variable.
§Return value
Returns the current value of an atomic variable.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.2.0.