Get the value of an atomic variable.
<syntaxhighlight lang="c"> int SDL_AtomicGet(SDL_atomic_t *a); </syntaxhighlight>
a | a pointer to an SDL_atomic_t variable |
Returns the current value of an atomic variable.
Note: If you don't know what this function is for, you shouldn't use it!
This function is available since SDL 2.0.2.
CategoryAPI, CategoryAtomic