Searched refs:arrive (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jdk/test/java/util/concurrent/Phaser/
H A DPhaseOverflow.java67 phaser.arrive();
69 phaser.arrive();
71 phaser.arrive();
93 p1.arrive();
97 p2.arrive();
101 p2.arrive();
125 p1.arrive();
129 p2.arrive();
133 p2.arrive();
H A DBasic.java57 equal(phase, phaser.arrive());
97 equal(phase, atTheStartingGate.arrive());
111 // Convenience methods for creating threads that call arrive,
143 try { phase(phaser.arrive()); }
155 phase(phaser.awaitAdvance(phaser.arrive()));
169 phase(phaser.awaitAdvanceInterruptibly(phaser.arrive()));
171 phase(phaser.awaitAdvanceInterruptibly(phaser.arrive(),
342 phaser.arrive();
377 phaser.arrive();
H A DArrive.java37 * @summary tests for Phaser.arrive()
62 int phase = phaser.arrive();
H A DTieredArriveLoops.java58 int phase = p.awaitAdvance(p.arrive());
/openjdk7/jdk/test/java/lang/Thread/
H A DThreadStateTest.java181 phaser.arrive();
192 phaser.arrive();
205 phaser.arrive();
217 phaser.arrive();
226 phaser.arrive();
237 phaser.arrive();
249 phaser.arrive();
/openjdk7/jdk/test/java/net/Socket/
H A DSocksConnectTimeout.java98 finishPhaser.awaitAdvanceInterruptibly(finishPhaser.arrive(), 5, TimeUnit.SECONDS);
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DPhaser.java67 * number starts at zero, and advances when all parties arrive at the
76 * <li> <b>Arrival.</b> Methods {@link #arrive} and
145 * parties arrive, the phase advances. The values returned by these
371 * Main implementation for methods arrive and arriveAndDeregister.
375 * @param deregister false for arrive, true for arriveAndDeregister
610 * Arrives at this phaser, without waiting for others to arrive.
621 public int arrive() { method in class:Phaser
627 * for others to arrive. Deregistration reduces the number of
647 * to {@code awaitAdvance(arrive())}. If you need to await with
708 * previous call to {@code arrive} o
[all...]

Completed in 474 milliseconds