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 |