ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/Phaser.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/Phaser.java (file contents):
Revision 1.8 by jsr166, Wed Aug 19 18:07:36 2009 UTC vs.
Revision 1.9 by jsr166, Thu Aug 20 16:38:43 2009 UTC

# Line 538 | Line 538 | public class Phaser {
538       * is terminated.
539       *
540       * @param phase the phase on entry to this method
541 <     * @return the phase on exit from this method
541 >     * @return the current barrier phase number upon exit of
542 >     * this method, or a negative value if terminated or
543 >     * argument is negative
544       */
545      public int awaitAdvance(int phase) {
546          if (phase < 0)
# Line 561 | Line 563 | public class Phaser {
563       * is terminated.
564       *
565       * @param phase the phase on entry to this method
566 <     * @return the phase on exit from this method
566 >     * @return the current barrier phase number upon exit of
567 >     * this method, or a negative value if terminated or
568 >     * argument is negative
569       * @throws InterruptedException if thread interrupted while waiting
570       */
571      public int awaitAdvanceInterruptibly(int phase)
# Line 589 | Line 593 | public class Phaser {
593       *        {@code unit}
594       * @param unit a {@code TimeUnit} determining how to interpret the
595       *        {@code timeout} parameter
596 <     * @return the phase on exit from this method
596 >     * @return the current barrier phase number upon exit of
597 >     * this method, or a negative value if terminated or
598 >     * argument is negative
599       * @throws InterruptedException if thread interrupted while waiting
600       * @throws TimeoutException if timed out while waiting
601       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines