Searched refs:abstime (Results 1 – 2 of 2) sorted by relevance
64 int wait(struct timespec abstime) in wait() argument70 abstime.tv_sec += now.tv_sec; in wait()71 …if(((abstime.tv_nsec + now.tv_usec*1000) > 1000*1000*1000) || (abstime.tv_nsec + now.tv_usec*1000 … in wait()73 abstime.tv_sec += 1; in wait()74 abstime.tv_nsec += now.tv_usec * 1000; in wait()75 abstime.tv_nsec -= 1000*1000*1000; in wait()79 abstime.tv_nsec += now.tv_usec * 1000; in wait()81 return pthread_cond_timedwait(&mCondition, &mMutex, &abstime); in wait()
1348 struct timespec abstime; in requestEvent() local1349 abstime.tv_sec = 4; in requestEvent()1350 abstime.tv_nsec = 0; in requestEvent()1351 res = mCondition.wait(abstime); in requestEvent()