| SDL_DestroySemaphore(3) | SDL3 FUNCTIONS | SDL_DestroySemaphore(3) |
SDL_DestroySemaphore - Destroy a semaphore.
Defined in SDL3/SDL_mutex.h
#include "SDL3/SDL.h"
void SDL_DestroySemaphore(SDL_Semaphore *sem);
It is not safe to destroy a semaphore if there are threads currently waiting on it.
This function is available since SDL 3.2.0.
•(3), SDL_CreateSemaphore(3)
| SDL 3.2.10 | Simple Directmedia Layer |