Searched refs:timeRemainingMs (Results 1 – 2 of 2) sorted by relevance
93 long timeRemainingMs = timeoutMs; in joinUninterruptibly() local95 while (timeRemainingMs > 0) { in joinUninterruptibly()97 thread.join(timeRemainingMs); in joinUninterruptibly()104 timeRemainingMs = timeoutMs - elapsedTimeMs; in joinUninterruptibly()134 long timeRemainingMs = timeoutMs; in awaitUninterruptibly() local139 result = barrier.await(timeRemainingMs, TimeUnit.MILLISECONDS); in awaitUninterruptibly()146 timeRemainingMs = timeoutMs - elapsedTimeMs; in awaitUninterruptibly()148 } while (timeRemainingMs > 0); in awaitUninterruptibly()
88 long timeRemainingMs = timeoutMs; in waitForNewFrame() local89 while (!hasNewFrame && timeRemainingMs > 0) { in waitForNewFrame()90 wait(timeRemainingMs); in waitForNewFrame()92 timeRemainingMs = timeoutMs - elapsedTimeMs; in waitForNewFrame()