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

  /libcore/luni/src/main/java/java/util/concurrent/
Exchanger.java 220 private static final int SPINS = (NCPU == 1) ? 0 : 2000;
229 private static final int TIMED_SPINS = SPINS / 20;
433 int spins = SPINS; local
438 else if (spins > 0)
439 --spins;
464 int spins = SPINS; local
469 else if (spins > 0) // Spin-wait phase
470 --spins;
490 int spins = TIMED_SPINS; local
    [all...]
SynchronousQueue.java 364 * Spins/blocks until node s is matched by a fulfill operation.
381 * preceded by spins to avoid blocking when producers and
397 int spins = (shouldSpin(s) ? local
414 if (spins > 0)
415 spins = shouldSpin(s) ? (spins-1) : 0;
671 * Spins/blocks until node s is fulfilled.
683 int spins = ((head.next == s) ? local
700 if (spins > 0)
701 --spins;
    [all...]

Completed in 392 milliseconds