Reference

SDL_SignalSemaphore(3)

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

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

sem

the semaphore to increment.

AVAILABILITY

This function is available since SDL 3.2.0.

SEE ALSO

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