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.11 by dl, Sun Aug 31 13:33:14 2003 UTC vs.
Revision 1.12 by dl, Fri Sep 26 11:37:11 2003 UTC

# Line 82 | Line 82 | import java.util.concurrent.locks.*;
82   * When used in this way, the binary semaphore has the property (unlike many
83   * {@link Lock} implementations, that the "lock" can be released by
84   * a thread other than the owner (as semaphores have no notion of ownership).
85 < * This can be useful in some specialised contexts, such as deadlock recovery.
85 > * This can be useful in some specialized contexts, such as deadlock recovery.
86   *
87   * <p>This class makes no guarantees about the order in which threads
88   * acquire permits. In particular, barging is permitted, that is, a thread

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines