HomeSort by relevance Sort by last modified time
    Searched refs:nanosTimeout (Results 1 - 15 of 15) sorted by null

  /libcore/luni/src/main/java/java/util/concurrent/locks/
Condition.java 275 * remaining to wait given the supplied {@code nanosTimeout}
319 * @param nanosTimeout the maximum time to wait, in nanoseconds
320 * @return an estimate of the {@code nanosTimeout} value minus
329 long awaitNanos(long nanosTimeout) throws InterruptedException;
AbstractQueuedLongSynchronizer.java 657 * @param nanosTimeout max wait time
660 private boolean doAcquireNanos(long arg, long nanosTimeout)
662 if (nanosTimeout <= 0L)
664 final long deadline = System.nanoTime() + nanosTimeout;
676 nanosTimeout = deadline - System.nanoTime();
677 if (nanosTimeout <= 0L)
680 nanosTimeout > spinForTimeoutThreshold)
681 LockSupport.parkNanos(this, nanosTimeout);
757 * @param nanosTimeout max wait time
760 private boolean doAcquireSharedNanos(long arg, long nanosTimeout)
    [all...]
AbstractQueuedSynchronizer.java     [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
AbstractQueuedLongSynchronizerTest.java 210 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis);
211 long nanosRemaining = c.awaitNanos(nanosTimeout);
233 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis);
234 long nanosRemaining = c.awaitNanos(nanosTimeout);
    [all...]
AbstractQueuedSynchronizerTest.java 213 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis);
214 long nanosRemaining = c.awaitNanos(nanosTimeout);
236 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis);
237 long nanosRemaining = c.awaitNanos(nanosTimeout);
    [all...]
ReentrantLockTest.java 152 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis);
153 long nanosRemaining = c.awaitNanos(nanosTimeout);
    [all...]
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/20/
android.jar 
  /prebuilts/sdk/9/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 

Completed in 373 milliseconds