Searched refs:end_at (Results 1 – 2 of 2) sorted by relevance
76 timespec end_at; in Wait() local79 clock_gettime(CLOCK_REALTIME, &end_at); in Wait()81 clock_gettime(CLOCK_MONOTONIC, &end_at); in Wait()89 TIMEVAL_TO_TIMESPEC(&value, &end_at); in Wait()91 end_at.tv_sec += timeout / 1000; in Wait()92 end_at.tv_nsec += (timeout - (timeout / 1000) * 1000) * E6; in Wait()94 if (end_at.tv_nsec >= E9) { in Wait()95 end_at.tv_sec++; in Wait()96 end_at.tv_nsec -= E9; in Wait()99 ret_val = pthread_cond_timedwait(&cond_, &mutex_, &end_at); in Wait()[all …]
42 EventTypeWrapper Wait(timespec* end_at);