Searched refs:abstime (Results 1 – 2 of 2) sorted by relevance
540 struct timespec abstime = {0, 0}; in GKI_wait() local591 clock_gettime(CLOCK_MONOTONIC, &abstime); in GKI_wait()596 abstime.tv_nsec += nano_sec; in GKI_wait()597 if (abstime.tv_nsec > NSEC_PER_SEC) { in GKI_wait()598 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC); in GKI_wait()599 abstime.tv_nsec = abstime.tv_nsec % NSEC_PER_SEC; in GKI_wait()601 abstime.tv_sec += sec; in GKI_wait()604 &gki_cb.os.thread_evt_mutex[rtask], &abstime); in GKI_wait()
446 status_t wait(WinCondition* condState, HANDLE hMutex, nsecs_t* abstime)456 if (abstime) {457 nsecs_t reltime = *abstime - systemTime();