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.