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

Comparing jsr166/src/jsr166y/Phaser.java (file contents):
Revision 1.33 by jsr166, Wed Aug 19 18:00:55 2009 UTC vs.
Revision 1.34 by dl, Wed Aug 19 23:05:32 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines