Searched defs:parties (Results 1 - 4 of 4) sorted by relevance
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | CyclicBarrier.java | 53 * for updating shared-state before any of the parties continue. 109 * <p>If the barrier action does not rely on the parties being suspended when 160 /** The number of parties */ 161 private final int parties; field in class:CyclicBarrier 168 * Number of parties still waiting. Counts down from parties to 0 169 * on each generation. It is reset to parties on each new 182 count = parties; 192 count = parties; 268 * given number of parties (thread 278 CyclicBarrier(int parties, Runnable barrierAction) argument 294 CyclicBarrier(int parties) argument [all...] |
H A D | Phaser.java | 48 * number of parties <em>registered</em> to synchronize on a phaser 51 * constructors establishing initial numbers of parties), and 65 * number starts at zero, and advances when all parties arrive at the 101 * parties. 113 * parties to become zero. As illustrated below, when phasers control 122 * large numbers of parties that would otherwise experience heavy 130 * Whenever the number of registered parties of a child phaser becomes 134 * registered parties becomes zero as the result of an invocation of 139 * only by registered parties, the current state of a phaser may be 141 * #getRegisteredParties} parties i 523 Phaser(int parties) argument 548 Phaser(Phaser parent, int parties) argument 610 bulkRegister(int parties) argument [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | PhaserTest.java | 38 int phase, int parties, int unarrived) { 40 assertEquals(parties, phaser.getRegisteredParties()); 42 assertEquals(parties - unarrived, phaser.getArrivedParties()); 47 protected void assertTerminated(Phaser phaser, int maxPhase, int parties) { argument 51 assertEquals(parties, phaser.getRegisteredParties()); 63 * parties and initial phase number of 0 75 * Constructing with a negative number of parties throws 86 * Constructing with a negative number of parties throws 97 * Constructing with a number of parties > 65535 throws 135 * register() will increment the number of unarrived parties b 37 assertState(Phaser phaser, int phase, int parties, int unarrived) argument [all...] |
H A D | JSR166TestCase.java | 1755 public CheckedBarrier(int parties) { super(parties); } argument
|
Completed in 98 milliseconds