SDL_CondBroadcast(3)
okay bestie, welcome to SDL_CondBroadcast(3) from the SDL API Reference π this is the little function that wakes up everybody waiting on a condition variable. no cap, it's giving group-chat ping energy π
β¨ NAME β¨
SDL_CondBroadcast β restart all threads waiting on a condition variable π
π SYNOPSIS π
#include "SDL.h" #include "SDL_thread.h"
int SDL_CondBroadcast(SDL_cond *cond);
π DESCRIPTION π
So, SDL_CondBroadcast restarts all the threads that are waiting on the condition variable, cond. Not one, not a few β all of them, bestie π«Ά
It returns 0 on success, or -1 on an error. that's the whole vibe. short, iconic, does exactly what it says π
π SEE ALSO π
SDL_CondSignalSDL_CondWait
this page came from SDL, dated Tue 11 Sep 2001, 23:00, and it's literally the SDL_CondBroadcast(3) manual page. bye bestie, go wake up those threads πΈβ¨π
π¦ where this page comes from
- debian bookworm: libsdl1.2-dev 1.2.15+dfsg2-8 Β· LGPL-2.1-or-later
- nixos 26.05: SDL_sixel 0-unstable-2016-02-06
- nixpkgs unstable: SDL_sixel 0-unstable-2016-02-06
- ubuntu jammy: libsdl1.2-dev 1.2.15+dfsg2-6 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms