#pragma section-numbers off #pragma disable-camelcase = SDL_AtomicSet = Use this function to set an atomic variable to a value. <> == Syntax == {{{#!highlight cpp int SDL_AtomicSet(SDL_atomic_t* a, int v) }}} == Function Parameters == ||'''a'''||a pointer to an [[SDL_atomic_t]] variable to be modified|| ||'''v'''||the desired value|| == Return Value == Returns the previous value of the atomic variable. == Code Examples == {{{#!highlight cpp You can add your code example here }}} == Remarks == This function also acts as a full memory barrier. == Related Functions == .[[SDL_AtomicGet]] ---- [[CategoryAPI]], [[CategoryAtomic]]