DOKK / manpages / debian 12 / allegro5-doc / al_broadcast_cond.3alleg5.en
al_broadcast_cond(3alleg5) al_broadcast_cond(3alleg5)

al_broadcast_cond - Allegro 5 API

#include <allegro5/allegro.h>
void al_broadcast_cond(ALLEGRO_COND *cond)
    

Unblock all threads currently waiting on a condition variable. That is, broadcast that some condition which those threads were waiting for has become true.

al_signal_cond(3alleg5).

Note: The pthreads spec says to lock the mutex associated with cond before signalling for predictable scheduling behaviour.

Allegro reference manual