axl_bool vortex_cond_timedwait ( VortexCond cond,
VortexMutex mutex,
long  microseconds 
)

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

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

Referenced by vortex_async_queue_timedpop().