Function SDL_UnlockMutex
pub unsafe extern "C" fn SDL_UnlockMutex(mutex: *mut SDL_Mutex)
Available on crate feature
dep_sdl3
only.Expand description
Unlock the mutex.
It is legal for the owning thread to lock an already-locked mutex. It must unlock it the same number of times before it is actually made available for other threads in the system (this is known as a “recursive mutex”).
It is illegal to unlock a mutex that has not been locked by the current thread, and doing so results in undefined behavior.
§Parameters
mutex
: the mutex to unlock.
§Availability
This function is available since SDL 3.2.0.