al_wait_cond_until(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’– NAME πŸ’–

okay so this is al_wait_cond_until(3), and the manual name folded in near the top is Library Functions Manual β€” yes bestie, we're doing the whole header thing cute and correct ✨

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 πŸ¦‹

So al_wait_cond_until is literally like al_wait_cond(3) but with a timer attached β€” main character energy, honestly. The call can return if the absolute time passes timeout before the condition is signalled. That's the whole plot twist πŸ‘‘

Return vibes: it returns zero on success, and non-zero if the call timed out. Periodt. Zero = success, non-zero = timed out πŸ’…

🌈 SEE ALSO 🌈


From the Allegro reference manual, page al_wait_cond_until(3) β€” source/version is the Allegro reference manual, and the footer date slot is literally blank on this one, so I'm not inventing one πŸ«ΆπŸ’–

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms