Unlock a spin lock by setting it to 0.
Always returns immediately.
***Please note that spinlocks are dangerous if you don't know what you're doing. Please be careful using any sort of spinlock!***
a pointer to a lock variable.
SDL_LockSpinlock SDL_TryLockSpinlock
Threadsafety: It is safe to call this function from any thread.
See Implementation
Available since SDL 3.2.0.
Unlock a spin lock by setting it to 0.
Always returns immediately.
***Please note that spinlocks are dangerous if you don't know what you're doing. Please be careful using any sort of spinlock!***