SDL_GetAtomicPointer - Get the value of a pointer atomically.
Contents
Availability
This function is available since SDL 3.2.0.
Description
Note:Ifyoudon'tknowwhatthisfunctionisfor,youshouldn'tuseit!
Function Parameters
a a pointer to a pointer.
Name
SDL_GetAtomicPointer - Get the value of a pointer atomically.
Return Value
Returns the current value of a pointer.
See Also
SDL_CompareAndSwapAtomicPointer(3), SDL_SetAtomicPointer(3) Simple Directmedia Layer SDL 3.2.20 SDL_GetAtomicPointer(3)
Synopsis
#include<SDL3/SDL_atomic.h>void*SDL_GetAtomicPointer(void**a);
Thread Safety
It is safe to call this function from any thread.
