Searched refs:abstime (Results 1 – 2 of 2) sorted by relevance
542 struct timespec abstime = {0, 0}; in GKI_wait() local595 clock_gettime(CLOCK_MONOTONIC, &abstime); in GKI_wait()600 abstime.tv_nsec += nano_sec; in GKI_wait()601 if (abstime.tv_nsec > NSEC_PER_SEC) { in GKI_wait()602 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC); in GKI_wait()603 abstime.tv_nsec = abstime.tv_nsec % NSEC_PER_SEC; in GKI_wait()605 abstime.tv_sec += sec; in GKI_wait()608 &gki_cb.os.thread_evt_mutex[rtask], &abstime); in GKI_wait()
467 status_t wait(WinCondition* condState, HANDLE hMutex, nsecs_t* abstime)477 if (abstime) {478 nsecs_t reltime = *abstime - systemTime();