al_wait_cond_until
int al_wait_cond_until(ALLEGRO_COND *cond, ALLEGRO_MUTEX *mutex,
const ALLEGRO_TIMEOUT *timeout)
Introduced in 5.0.0
Like al_wait_cond 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