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

Comparing jsr166/src/main/java/util/concurrent/Semaphore.java (file contents):
Revision 1.49 by jsr166, Thu Sep 8 21:58:22 2005 UTC vs.
Revision 1.50 by jsr166, Wed Sep 14 22:54:57 2005 UTC

# Line 118 | Line 118 | import java.util.concurrent.atomic.*;
118   * permits at a time.  Beware of the increased risk of indefinite
119   * postponement when these methods are used without fairness set true.
120   *
121 < * <p> Memory consistency effects: Actions in a thread prior to calling
122 < * a "release" method such as <tt>release()</tt> <a
123 < * href="package-summary.html#MemoryVisibility"><i>happen-before</i></a>
124 < * actions following a successful "acquire" method such as
125 < * <tt>acquire()</tt> in another thread.
121 > * <p>Memory consistency effects: Actions in a thread prior to calling
122 > * a "release" method such as {@code release()}
123 > * <a href="package-summary.html#MemoryVisibility"><i>happen-before</i></a>
124 > * actions following a successful "acquire" method such as {@code acquire()}
125 > * in another thread.
126   *
127   * @since 1.5
128   * @author Doug Lea

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines