table of contents
other versions
- bookworm 1.2.15+dfsg2-8
- experimental 3.1.0+ds-1
SDL_DestroySemaphore(3) | SDL3 FUNCTIONS | SDL_DestroySemaphore(3) |
NAME¶
SDL_DestroySemaphore - Destroy a semaphore.
SYNOPSIS¶
#include "SDL3/SDL.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.0.0.
SEE ALSO¶
SDL 3.1.0 | SDL |