Page 1 of 1

LWP_CondTimedWait

Posted: Fri Dec 19, 2014 2:55 pm
by Oibaf
According to the text of cond.h, abstime should indicate the absolute timeout.
Making some tests it seems that instead this parameter is treated as relative timeout .
Can someone confirm this?


/*! \fn s32 LWP_CondTimedWait(cond_t cond,mutex_t mutex,const struct timespec *abstime)
\brief Timed wait on a conditionvariable.
\param[in] cond handle to the cond_t structure
\param[in] mutex handle to the mutex_t structure
\param[in] abstime pointer to a timespec structure holding the abs time for the timeout.