SDL_SignalSemaphore(3)
πΈ NAME πΈ
okay so welcome to the SDL3 FUNCTIONS manual, bestie, and todayβs main character is SDL_SignalSemaphore(3) π
SDL_SignalSemaphore β atomically increment a semaphore's value and wake waiting threads. no cap, thatβs the whole gig.
π¦ SYNOPSIS π¦
#include <SDL3/SDL_mutex.h>
void SDL_SignalSemaphore(SDL_Semaphore *sem);
π FUNCTION PARAMETERS π
semβ the semaphore to increment. thatβs it, thatβs the parameter, sheβs simple and iconic π«Ά
β¨ THREAD SAFETY β¨
It is safe to call this function from any thread. fr fr, any thread, no stress, go off π
π AVAILABILITY π
This function is available since SDL 3.2.0. not me showing up in 3.2.0 and never leaving π
π«Ά SEE ALSO π«Ά
go read those next, iykyk π
Simple Directmedia Layer β’ SDL 3.4.18 β’ SDL_SignalSemaphore(3) β thatβs the footer energy, bestie, and we ate πβ¨ periodt.
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms