Searched refs:absoluteTime (Results 1 – 1 of 1) sorted by relevance
97 struct timespec absoluteTime; in wait() local99 if (clock_gettime(CLOCK_MONOTONIC, &absoluteTime) == -1) { in wait()103 absoluteTime.tv_sec += millisec / 1000; in wait()104 long ns = absoluteTime.tv_nsec + ((millisec % 1000) * 1000000); in wait()106 absoluteTime.tv_sec++; in wait()107 absoluteTime.tv_nsec = ns - 1000000000; in wait()109 absoluteTime.tv_nsec = ns; in wait()113 pthread_cond_timedwait(&mCondition, mutex.nativeHandle(), &absoluteTime); in wait()