axl_bool valvula_cond_timedwait ( ValvulaCond cond,
ValvulaMutex mutex,
long  microseconds 

Atomically unlocks mutex and waits on cond, as pthread_cond_wait does, but it also bounds the duration of the wait.

condThe conditional variable to perform the wait operation.
mutexMutex associated.
microsecondsAmount of time to wait.
axl_true if no error was found, otherwise axl_false is returned.

Referenced by valvula_async_queue_timedpop().