axl_bool myqtt_cond_timedwait ( MyQttCond cond,
MyQttMutex 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 myqtt_async_queue_timedpop().