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.26 by jsr166, Mon Sep 12 19:23:30 2005 UTC vs.
Revision 1.27 by jsr166, Wed Sep 14 21:45:12 2005 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines