SDL_BroadcastCondition(3)
π NAME π
okay bestie, meet SDL_BroadcastCondition from the SDL3 FUNCTIONS manual. She's the one who restarts all threads that are waiting on the condition variable. All of them. Not a subset, not a maybe β all. It's giving "everybody up, we're done waiting" energy. Periodt. πβ¨
π¦ SYNOPSIS π¦
#include <SDL3/SDL_mutex.h>
void SDL_BroadcastCondition(SDL_Condition *cond);
π FUNCTION PARAMETERS π
condβ the condition variable to signal. That's the whole parameter list, bestie. She's lowkey simple like that. π
π₯ THREAD SAFETY π₯
It is safe to call this function from any thread β no cap, any thread is invited to the party. π«Ά
β AVAILABILITY β
This function is available since SDL 3.2.0. If you're kicking it on something older, it's giving not available yet, bestie. π
π SEE ALSO π
Those are the besties in the same friend group β go read them too. π
mwah π this page was served by Simple Directmedia Layer, version SDL 3.4.18, and it's all about SDL_BroadcastCondition(3). stay iconic, okay? bye bestie! β¨ππ
π¦ 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