---
name: "al_wait_cond_until"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_wait_cond_until"
---

# al\_wait\_cond\_until(3)

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(3)](/al_wait_cond/3.md) 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(3)](/al_wait_cond/3.md)
