Searched refs:nanosTimeout (Results 1 – 6 of 6) sorted by relevance
890 private boolean doAcquireNanos(int arg, long nanosTimeout) in doAcquireNanos() argument892 if (nanosTimeout <= 0L) in doAcquireNanos()894 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireNanos()906 nanosTimeout = deadline - System.nanoTime(); in doAcquireNanos()907 if (nanosTimeout <= 0L) in doAcquireNanos()910 nanosTimeout > spinForTimeoutThreshold) in doAcquireNanos()911 LockSupport.parkNanos(this, nanosTimeout); in doAcquireNanos()990 private boolean doAcquireSharedNanos(int arg, long nanosTimeout) in doAcquireSharedNanos() argument992 if (nanosTimeout <= 0L) in doAcquireSharedNanos()994 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireSharedNanos()[all …]
660 private boolean doAcquireNanos(long arg, long nanosTimeout) in doAcquireNanos() argument662 if (nanosTimeout <= 0L) in doAcquireNanos()664 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireNanos()676 nanosTimeout = deadline - System.nanoTime(); in doAcquireNanos()677 if (nanosTimeout <= 0L) in doAcquireNanos()680 nanosTimeout > spinForTimeoutThreshold) in doAcquireNanos()681 LockSupport.parkNanos(this, nanosTimeout); in doAcquireNanos()760 private boolean doAcquireSharedNanos(long arg, long nanosTimeout) in doAcquireSharedNanos() argument762 if (nanosTimeout <= 0L) in doAcquireSharedNanos()764 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireSharedNanos()[all …]
329 long awaitNanos(long nanosTimeout) throws InterruptedException; in awaitNanos() argument
210 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis); in await() local211 long nanosRemaining = c.awaitNanos(nanosTimeout); in await()233 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis); in assertAwaitTimesOut() local234 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut()
213 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis); in await() local214 long nanosRemaining = c.awaitNanos(nanosTimeout); in await()236 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis); in assertAwaitTimesOut() local237 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut()
152 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis); in await() local153 long nanosRemaining = c.awaitNanos(nanosTimeout); in await()