logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GetAtomicU32 - Get the value of an atomic variable.

Availability

       This function is available since SDL 3.2.0.

Description

Note:Ifyoudon'tknowwhatthisfunctionisfor,youshouldn'tuse it!

Function Parameters

a      a pointer to an SDL_AtomicU32
               variable.

Header File

       Defined in SDL3/SDL_atomic.h

Name

       SDL_GetAtomicU32 - Get the value of an atomic variable.

Return Value

       ( Uint32 ) Returns the current value of an atomic variable.

See Also

(3), SDL_SetAtomicU32(3)

Simple Directmedia Layer                           SDL 3.2.10                                SDL_GetAtomicU32(3)

Synopsis

#include"SDL3/SDL.h"Uint32SDL_GetAtomicU32(SDL_AtomicU32*a);

Thread Safety

       It is safe to call this function from any thread.

See Also