---
name: "al_broadcast_cond"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_broadcast_cond/3alleg5"
---

# al\_broadcast\_cond(3alleg5)

Allegro 5 API

## NAME

al\_broadcast\_cond - Allegro 5 API

## SYNOPSIS

-

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

## DESCRIPTION

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

## SEE ALSO

al\_signal\_cond(3alleg5).

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