Function SDL_GetAtomicPointer

pub unsafe extern "C" fn SDL_GetAtomicPointer(
    a: *mut *mut c_void,
) -> *mut c_void
Available on crate feature dep_sdl3 only.
Expand description

Get the value of a pointer atomically.

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

§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.

§Availability

This function is available since SDL 3.2.0.

§See also