Home | History | Annotate | Download | only in concurrent

Lines Matching defs:SPINS

427      * Spins before blocking in waitingGet
429 static final int SPINS = (Runtime.getRuntime().availableProcessors() > 1 ?
1737 int spins = SPINS;
1740 if (spins > 0) {
1742 --spins;
1785 while ((r = result) == null) { // similar to untimed, without spins