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

  /libcore/luni/src/main/java/java/util/concurrent/
Phaser.java 242 * unarrived -- the number of parties yet to hit barrier (bits 0-15)
249 * parties and one unarrived parties (encoded as EMPTY below).
346 * common case of just decrementing unarrived field.
360 int unarrived = (counts == EMPTY) ? 0 : (counts & UNARRIVED_MASK); local
361 if (unarrived <= 0)
364 if (unarrived == 1) {
396 * unarrived fields. Must be greater than zero.
407 int unarrived = counts & UNARRIVED_MASK; local
415 if (unarrived == 0) // wait out advance
455 * their own advance by setting unarrived to parties (or i
655 int unarrived = (counts == EMPTY) ? 0 : (counts & UNARRIVED_MASK); local
1017 int unarrived = (int)s & UNARRIVED_MASK; local
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
PhaserTest.java 27 int phase, int parties, int unarrived) {
30 assertEquals(unarrived, phaser.getUnarrivedParties());
31 assertEquals(parties - unarrived, phaser.getArrivedParties());
124 * register() will increment the number of unarrived parties by
224 * bulkRegister should correctly record the number of unarrived
331 * registered or unarrived parties would become negative
741 * unarrived parties

Completed in 415 milliseconds