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 …]
941 private boolean doAcquireNanos(int arg, long nanosTimeout) in doAcquireNanos() argument943 if (nanosTimeout <= 0L) in doAcquireNanos()945 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireNanos()955 nanosTimeout = deadline - System.nanoTime(); in doAcquireNanos()956 if (nanosTimeout <= 0L) { in doAcquireNanos()961 nanosTimeout > SPIN_FOR_TIMEOUT_THRESHOLD) in doAcquireNanos()962 LockSupport.parkNanos(this, nanosTimeout); in doAcquireNanos()1037 private boolean doAcquireSharedNanos(int arg, long nanosTimeout) in doAcquireSharedNanos() argument1039 if (nanosTimeout <= 0L) in doAcquireSharedNanos()1041 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireSharedNanos()[all …]
359 long awaitNanos(long nanosTimeout) throws InterruptedException; in awaitNanos() argument
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()
226 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis); in await() local227 long nanosRemaining = c.awaitNanos(nanosTimeout); in await()254 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis); in assertAwaitTimesOut() local255 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut()