support for the powerpc toolchain
Post Reply
Posts: 34
Joined: Mon Jul 04, 2011 1:03 pm


Post by Oibaf » Fri Dec 19, 2014 2:55 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests