Home
last modified time | relevance | path

Searched refs:abs_deadline (Results 1 – 1 of 1) sorted by relevance

/external/drm_hwcomposer/
Dworker.cpp145 struct timespec abs_deadline; in WaitForSignalOrExitLocked() local
146 ret = clock_gettime(CLOCK_MONOTONIC, &abs_deadline); in WaitForSignalOrExitLocked()
149 int64_t nanos = (int64_t)abs_deadline.tv_nsec + max_nanoseconds; in WaitForSignalOrExitLocked()
150 abs_deadline.tv_sec += nanos / kBillion; in WaitForSignalOrExitLocked()
151 abs_deadline.tv_nsec = nanos % kBillion; in WaitForSignalOrExitLocked()
152 ret = pthread_cond_timedwait(&cond_, &lock_, &abs_deadline); in WaitForSignalOrExitLocked()