Home
last modified time | relevance | path

Searched refs:unarrived (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DPhaser.java388 int unarrived = (counts == EMPTY) ? 0 : (counts & UNARRIVED_MASK); in doArrive() local
389 if (unarrived <= 0) in doArrive()
392 if (unarrived == 1) { in doArrive()
434 int unarrived = counts & UNARRIVED_MASK; in doRegister() local
442 if (unarrived == 0) // wait out advance in doRegister()
681 int unarrived = (counts == EMPTY) ? 0 : (counts & UNARRIVED_MASK); in arriveAndAwaitAdvance() local
682 if (unarrived <= 0) in arriveAndAwaitAdvance()
685 if (unarrived > 1) in arriveAndAwaitAdvance()
1041 int unarrived = (int)s & UNARRIVED_MASK; in internalAwaitAdvance() local
1042 if (unarrived != lastUnarrived && in internalAwaitAdvance()
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DPhaserTest.java62 int phase, int parties, int unarrived) { in assertState() argument
65 assertEquals(unarrived, phaser.getUnarrivedParties()); in assertState()
66 assertEquals(parties - unarrived, phaser.getArrivedParties()); in assertState()
/libcore/jsr166-tests/src/test/java/jsr166/
DPhaserTest.java38 int phase, int parties, int unarrived) { in assertState() argument
41 assertEquals(unarrived, phaser.getUnarrivedParties()); in assertState()
42 assertEquals(parties - unarrived, phaser.getArrivedParties()); in assertState()