logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Availability

       This function is available since SDL 3.2.0.

Function Parameters

sem    the semaphore to increment.

Header File

       Defined in SDL3/SDL_mutex.h

Name

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

See Also

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

Simple Directmedia Layer                           SDL 3.2.10                             SDL_SignalSemaphore(3)

Synopsis

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

See Also