Lines Matching refs:Interval
299 unsigned long Interval = 1; in waitForUnlock() local
301 struct timespec Interval; in waitForUnlock() local
302 Interval.tv_sec = 0; in waitForUnlock()
303 Interval.tv_nsec = 1000000; in waitForUnlock()
314 Sleep(Interval); in waitForUnlock()
316 nanosleep(&Interval, nullptr); in waitForUnlock()
333 Interval *= 2; in waitForUnlock()
335 Interval.tv_sec *= 2; in waitForUnlock()
336 Interval.tv_nsec *= 2; in waitForUnlock()
337 if (Interval.tv_nsec >= 1000000000) { in waitForUnlock()
338 ++Interval.tv_sec; in waitForUnlock()
339 Interval.tv_nsec -= 1000000000; in waitForUnlock()
344 Interval < MaxSeconds * 1000 in waitForUnlock()
346 Interval.tv_sec < (time_t)MaxSeconds in waitForUnlock()