Block a thread on a conditional variable, with a time limit
int PtCondTimedWait( pthread_cond_t *cond, const struct timespec *abstime );
PtCondTimedWait() is an equivalent of pthread_cond_timedwait() that uses the Photon library lock instead of a mutex, which has the effect of an implicit PtLeave() when you block, and PtEnter() when you unblock.
The calling thread is blocked until:
In all cases, the thread reacquires the Photon library lock before being unblocked.
PtCondWait(), PtEnter(), PtLeave()
pthread_cond_timedwait() in the QNX Neutrino Library Reference
“Threads” in the Parallel Operations chapter of the Photon Programmer's Guide