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.31 by dl, Wed Aug 19 15:50:04 2009 UTC vs.
Revision 1.32 by jsr166, Wed Aug 19 17:44:45 2009 UTC

# Line 169 | Line 169 | import java.util.concurrent.locks.LockSu
169   *
170   * <p><b>Implementation notes</b>: This implementation restricts the
171   * maximum number of parties to 65535. Attempts to register additional
172 < * parties result in IllegalStateExceptions. However, you can and
172 > * parties result in {@code IllegalStateException}. However, you can and
173   * should create tiered phasers to accommodate arbitrarily large sets
174   * of participants.
175   *
# Line 557 | Line 557 | public class Phaser {
557  
558      /**
559       * Awaits the phase of the barrier to advance from the given phase
560 <     * value, throwing InterruptedException if interrupted while
560 >     * value, throwing {@code InterruptedException} if interrupted while
561       * waiting, or returning immediately if the current phase of the
562       * barrier is not equal to the given phase value or this barrier
563 <     * is terminated
563 >     * is terminated.
564       *
565       * @param phase the phase on entry to this method
566       * @return the phase on exit from this method
# Line 581 | Line 581 | public class Phaser {
581  
582      /**
583       * Awaits the phase of the barrier to advance from the given phase
584 <     * value or the given timeout elapses, throwing
585 <     * InterruptedException if interrupted while waiting, or returning
586 <     * immediately if the current phase of the barrier is not equal to
587 <     * the given phase value or this barrier is terminated.
584 >     * value or the given timeout to elapse, throwing
585 >     * {@code InterruptedException} if interrupted while waiting, or
586 >     * returning immediately if the current phase of the barrier is not
587 >     * equal to the given phase value or this barrier is terminated.
588       *
589       * @param phase the phase on entry to this method
590       * @param timeout how long to wait before giving up, in units of

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines