Searched refs:remainingNanos (Results 1 – 3 of 3) sorted by relevance
77 long remainingNanos = unit.toNanos(timeout); in awaitUninterruptibly() local78 long end = System.nanoTime() + remainingNanos; in awaitUninterruptibly()83 return latch.await(remainingNanos, NANOSECONDS); in awaitUninterruptibly()86 remainingNanos = end - System.nanoTime(); in awaitUninterruptibly()158 long remainingNanos = unit.toNanos(timeout); in getUninterruptibly() local159 long end = System.nanoTime() + remainingNanos; in getUninterruptibly()164 return future.get(remainingNanos, NANOSECONDS); in getUninterruptibly()167 remainingNanos = end - System.nanoTime(); in getUninterruptibly()187 long remainingNanos = unit.toNanos(timeout); in joinUninterruptibly() local188 long end = System.nanoTime() + remainingNanos; in joinUninterruptibly()[all …]
316 long remainingNanos = timeoutNanos; in enter() local321 return lock.tryLock(remainingNanos, TimeUnit.NANOSECONDS); in enter()324 remainingNanos = (timeoutNanos - (System.nanoTime() - startNanos)); in enter()409 long remainingNanos; in enterWhen() local411 remainingNanos = unit.toNanos(time); in enterWhen()417 remainingNanos = unit.toNanos(time) - (System.nanoTime() - startNanos); in enterWhen()421 satisfied = waitInterruptibly(guard, remainingNanos, reentrant); in enterWhen()444 long remainingNanos; in enterWhenUninterruptibly() local446 remainingNanos = unit.toNanos(time); in enterWhenUninterruptibly()450 remainingNanos = timeoutNanos; in enterWhenUninterruptibly()[all …]
121 long remainingNanos = unit.toNanos(timeout); in joinUninterruptibly() local122 long end = System.nanoTime() + remainingNanos; in joinUninterruptibly()127 NANOSECONDS.timedJoin(thread, remainingNanos); in joinUninterruptibly()131 remainingNanos = end - System.nanoTime(); in joinUninterruptibly()