#define VALVULA_COND_TIMEDWAIT (   r,
  c,
  mutex,
 
)
Value:
do{\
r = valvula_cond_timedwait (c, mutex, m);\
}while(0)
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 duratio...
Definition: valvula_thread.c:797

Useful macro that allows to perform a call to valvula_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.