---
name: "al_wait_cond_until"
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_wait_cond_until/3alleg5"
---

# al\_wait\_cond\_until(3alleg5)

Allegro 5 API

## NAME

al\_wait\_cond\_until - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  int al_wait_cond_until(ALLEGRO_COND *cond, ALLEGRO_MUTEX *mutex,
     const ALLEGRO_TIMEOUT *timeout)
  ```

## DESCRIPTION

Like al\_wait\_cond(3alleg5) but the call can return if the absolute time passes `timeout` before the condition is signalled.

Returns zero on success, non-zero if the call timed out.

## SEE ALSO

al\_wait\_cond(3alleg5)
