Scroll to navigation

SDL_SignalSemaphore(3) SDL3 FUNCTIONS SDL_SignalSemaphore(3)

NAME

SDL_SignalSemaphore - Atomically increment a semaphore's value and wake waiting threads.

HEADER FILE

Defined in SDL3/SDL_mutex.h

SYNOPSIS

#include "SDL3/SDL.h"
void SDL_SignalSemaphore(SDL_Semaphore *sem);

FUNCTION PARAMETERS

the semaphore to increment.

AVAILABILITY

This function is available since SDL 3.1.3.

SEE ALSO

(3), SDL_TryWaitSemaphore(3), (3), SDL_WaitSemaphore(3), (3), SDL_WaitSemaphoreTimeout(3)

SDL 3.1.6 Simple Directmedia Layer