SDL_SignalSemaphore - Man Page

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)

Referenced By

SDL_CreateSemaphore(3), SDL_TryWaitSemaphore(3), SDL_WaitSemaphore(3), SDL_WaitSemaphoreTimeout(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS