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

Comparing jsr166/src/main/java/util/concurrent/Exchanger.java (file contents):
Revision 1.22 by brian, Fri Sep 2 01:03:08 2005 UTC vs.
Revision 1.23 by brian, Fri Sep 2 03:03:17 2005 UTC

# Line 62 | Line 62 | import java.util.Random;
62   * }
63   * </pre>
64   *
65 < * <p> Memory visibility effects: Actions in a thread prior to calling
66 < * <tt>exchange()</tt> <a
67 < * href="package-summary.html#MemoryVisibility"><i>happen-before</i></a>
68 < * those subsequent to the matching <tt>exchange()</tt> in another thread.
65 >
66 > * <p> Memory visibility effects: For each pair of threads that
67 > * successfully exchange objects via an <tt>Exchanger</tt>,
68 > * actions prior to to the <tt>exchange()</tt>
69 > * in each thread <a href="package-summary.html#MemoryVisibility"><i>happen-before</i></a>
70 > * those subsequent to the corresponding <tt>exchange()</tt> in the other
71 > * thread.
72   *
73   * @since 1.5
74   * @author Doug Lea and Bill Scherer and Michael Scott

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines