pub unsafe extern "C" fn SDL_DestroySemaphore(sem: *mut SDL_sem)
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