SDL_GetAtomicPointer(3)
β¨ SDL_GetAtomicPointer(3) β¨
okay so bestie, welcome to the SDL_GetAtomicPointer(3) page, straight from the SDL3 FUNCTIONS section. this one is short and spicy, so let's get into it π
π NAME π
SDL_GetAtomicPointer β get the value of a pointer atomically.
π¦ SYNOPSIS π¦
#include <SDL3/SDL_atomic.h>
void * SDL_GetAtomicPointer(void **a);
πΈ DESCRIPTION πΈ
Note: If you don't know what this function is for, you shouldn't use it!
okay so literally the manpage said it first: if you don't know what this function is for, you shouldn't use it! no cap, this is not a "vibe check and figure it out later" situation. π
π FUNCTION PARAMETERS π
aβ a pointer to a pointer.
β RETURN VALUE β
Returns the current value of a pointer.
π THREAD SAFETY π
It is safe to call this function from any thread. periodt, she's thread-safe π
π AVAILABILITY π
This function is available since SDL 3.2.0.
π SEE ALSO π
mwah π this has been a Simple Directmedia Layer production, version SDL 3.4.18, dated/footered SDL_GetAtomicPointer(3). byeeee π«Ά
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms