Provided by: libsdl3-doc_3.2.20+ds-2_all bug

NAME

       SDL_DestroySemaphore - Destroy a semaphore.

SYNOPSIS

       #include <SDL3/SDL_mutex.h>

       void SDL_DestroySemaphore(SDL_Semaphore *sem);

DESCRIPTION

       It is not safe to destroy a semaphore if there are threads currently waiting on it.

FUNCTION PARAMETERS

       sem    the semaphore to destroy.

AVAILABILITY

       This function is available since SDL 3.2.0.

SEE ALSO

       SDL_CreateSemaphore(3)

Simple Directmedia Layer                           SDL 3.2.20                            SDL_DestroySemaphore(3)