Searched refs:abs_time (Results 1 – 3 of 3) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | cnd_monotonic.h | 110 u_cnd_monotonic_timedwait(struct u_cnd_monotonic *cond, mtx_t *mtx, const struct timespec *abs_time) in u_cnd_monotonic_timedwait() argument 114 assert(abs_time != NULL); in u_cnd_monotonic_timedwait() 117 const uint64_t future = (abs_time->tv_sec * 1000) + (abs_time->tv_nsec / 1000000); in u_cnd_monotonic_timedwait() 124 int rt = pthread_cond_timedwait(&cond->cond, mtx, abs_time); in u_cnd_monotonic_timedwait()
|
/hardware/google/gfxstream/guest/mesa/src/c11/impl/ |
D | threads_win32.c | 93 static DWORD impl_abs2relmsec(const struct timespec *abs_time) in impl_abs2relmsec() argument 95 const time_t abs_ms = impl_timespec2msec(abs_time); in impl_abs2relmsec() 195 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *abs_time) in cnd_timedwait() argument 199 assert(abs_time != NULL); in cnd_timedwait() 200 const DWORD timeout = impl_abs2relmsec(abs_time); in cnd_timedwait()
|
D | threads_posix.c | 115 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *abs_time) in cnd_timedwait() argument 121 assert(abs_time != NULL); in cnd_timedwait() 123 rt = pthread_cond_timedwait(cond, mtx, abs_time); in cnd_timedwait()
|