Destroy a semaphore.
Defined in SDL_mutex.h
void SDL_DestroySemaphore(SDL_sem * sem);
SDL_sem * | sem | the semaphore to destroy. |
It is not safe to destroy a semaphore if there are threads currently waiting on it.
This function is available since SDL 2.0.0.