#define MYQTT_COND_TIMEDWAIT (   r,
  c,
  mutex,
 
)
Value:
do{\
r = myqtt_cond_timedwait (c, mutex, m);\
}while(0)
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 duratio...
Definition: myqtt-thread.c:800

Useful macro that allows to perform a call to myqtt_cond_timewait registering the place where the call was started and ended.

Parameters
rWait result
cThe cond variable to use.
mutexThe mutex variable to use.
mThe amount of microseconds to wait.