SDL_GetAtomicPointer

Get the value of a pointer atomically.

***Note: If you don't know what this function is for, you shouldn't use it!***

extern (C) nothrow @nogc extern
void*
SDL_GetAtomicPointer
(
void** a
)

Parameters

a void**

a pointer to a pointer.

Return Value

Type: void*

the current value of a pointer.

See Also

SDL_CompareAndSwapAtomicPointer SDL_SetAtomicPointer

Threadsafety: It is safe to call this function from any thread.

Meta

History

Available since SDL 3.2.0.