Function SDL_DestroySemaphore
pub unsafe extern "C" fn SDL_DestroySemaphore(sem: *mut SDL_semaphore)
Available on crate feature
dep_sdl2
only.Expand description
Destroy a semaphore.
It is not safe to destroy a semaphore if there are threads currently waiting on it.
\param sem the semaphore to destroy
\since This function is available since SDL 2.0.0.
\sa SDL_CreateSemaphore \sa SDL_SemPost \sa SDL_SemTryWait \sa SDL_SemValue \sa SDL_SemWait \sa SDL_SemWaitTimeout