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

Comparing jsr166/src/main/java/util/concurrent/Phaser.java (file contents):
Revision 1.96 by dl, Fri Nov 27 17:42:00 2020 UTC vs.
Revision 1.97 by dl, Sun Jan 31 13:32:58 2021 UTC

# Line 119 | Line 119 | import java.util.concurrent.locks.LockSu
119   * returns snapshots of these state queries in a form convenient for
120   * informal monitoring.
121   *
122 + * <p>Memory consistency effects: Actions prior to any form of arrive
123 + * method <a href="package-summary.html#MemoryVisibility">
124 + * <i>happen-before</i></a> a corresponding phase advance and
125 + * onAdvance actions (if present), which in turn <i>happen-before</i>
126 + * actions following the phase advance.
127 + *
128   * <p><b>Sample usages:</b>
129   *
130   * <p>A {@code Phaser} may be used instead of a {@code CountDownLatch}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines