SDL_GetAtomicU32

Get the value of an atomic variable.

***Note: If you don't know what this function is for, you shouldn't use it!***

extern (C) nothrow @nogc extern
SDL_GetAtomicU32

Parameters

a SDL_AtomicU32*

a pointer to an SDL_AtomicU32 variable.

Return Value

Type: Uint32

the current value of an atomic variable.

See Also

SDL_SetAtomicU32

Threadsafety: It is safe to call this function from any thread.

Meta

History

Available since SDL 3.2.0.