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.46 by dl, Mon Jun 13 18:41:16 2005 UTC vs.
Revision 1.47 by brian, Fri Sep 2 01:03:08 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 visibility 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.
126 + *
127   * @since 1.5
128   * @author Doug Lea
129   *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines