pub unsafe extern "C" fn SDL_AtomicTryLock(
    lock: *mut SDL_SpinLock
) -> SDL_bool
Expand description

\brief Try to lock a spin lock by setting it to a non-zero value.

\param lock Points to the lock.

\return SDL_TRUE if the lock succeeded, SDL_FALSE if the lock is already held.