Searched refs:abstime (Results 1 – 2 of 2) sorted by relevance
544 struct timespec abstime = {0, 0}; in GKI_wait() local597 clock_gettime(CLOCK_MONOTONIC, &abstime); in GKI_wait()602 abstime.tv_nsec += nano_sec; in GKI_wait()603 if (abstime.tv_nsec > NSEC_PER_SEC) { in GKI_wait()604 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC); in GKI_wait()605 abstime.tv_nsec = abstime.tv_nsec % NSEC_PER_SEC; in GKI_wait()607 abstime.tv_sec += sec; in GKI_wait()610 &gki_cb.os.thread_evt_mutex[rtask], &abstime); in GKI_wait()
452 status_t wait(WinCondition* condState, HANDLE hMutex, nsecs_t* abstime)462 if (abstime) {463 nsecs_t reltime = *abstime - systemTime();