Searched refs:nanosTimeout (Results 1 – 5 of 5) sorted by relevance
475 private boolean doAcquireNanos(long arg, long nanosTimeout) in doAcquireNanos() argument477 if (nanosTimeout <= 0L) in doAcquireNanos()479 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireNanos()489 nanosTimeout = deadline - System.nanoTime(); in doAcquireNanos()490 if (nanosTimeout <= 0L) { in doAcquireNanos()495 nanosTimeout > SPIN_FOR_TIMEOUT_THRESHOLD) in doAcquireNanos()496 LockSupport.parkNanos(this, nanosTimeout); in doAcquireNanos()571 private boolean doAcquireSharedNanos(long arg, long nanosTimeout) in doAcquireSharedNanos() argument573 if (nanosTimeout <= 0L) in doAcquireSharedNanos()575 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireSharedNanos()[all …]
359 long awaitNanos(long nanosTimeout) throws InterruptedException; in awaitNanos() argument
254 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis); in await() local255 long nanosRemaining = c.awaitNanos(nanosTimeout); in await()282 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis); in assertAwaitTimesOut() local283 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut()
257 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis); in await() local258 long nanosRemaining = c.awaitNanos(nanosTimeout); in await()285 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis); in assertAwaitTimesOut() local286 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut()
229 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis); in await() local230 long nanosRemaining = c.awaitNanos(nanosTimeout); in await()257 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis); in assertAwaitTimesOut() local258 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut()