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

Comparing jsr166/src/main/java/util/concurrent/CyclicBarrier.java (file contents):
Revision 1.2 by dl, Tue May 27 18:14:39 2003 UTC vs.
Revision 1.3 by dl, Sat Jun 7 18:20:20 2003 UTC

# Line 7 | Line 7
7   package java.util.concurrent;
8  
9   /**
10 < * A <tt>CyclicBarrier</tt> allows a set threads to all wait for each
11 < * other to reach a common barrier point.  They are useful in programs
12 < * involving a fixed sized party of threads that must occasionally
13 < * wait for each other. The barrier is <em>cyclic</em> because it can
14 < * be re-used after the waiting threads are released.
10 > * A synchronization aid that allows a set threads to all wait for
11 > * each other to reach a common barrier point.  CyckicBarriers are
12 > * useful in programs involving a fixed sized party of threads that
13 > * must occasionally wait for each other. The barrier is
14 > * <em>cyclic</em> because it can be re-used after the waiting threads
15 > * are released.
16   *
17   * <p>A <tt>CyclicBarrier</tt> supports an optional {@link Runnable} command
18   * that is run once per barrier point, after the last thread in the party

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines