ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166e/extra/SequenceLock.java
(Generate patch)

Comparing jsr166/src/jsr166e/extra/SequenceLock.java (file contents):
Revision 1.2 by jsr166, Sun Oct 21 06:14:11 2012 UTC vs.
Revision 1.3 by jsr166, Sun Nov 18 18:03:10 2012 UTC

# Line 40 | Line 40 | import java.io.IOException;
40   * threads invoke short read-only methods much more frequently than
41   * fully locked methods.
42   *
43 < * <p> Methods {@code awaitAvailability} and {@code getSequence} can
43 > * <p>Methods {@code awaitAvailability} and {@code getSequence} can
44   * be used together to define (partially) optimistic read-only methods
45   * that are usually more efficient than ReadWriteLocks when they
46   * apply.  These methods should in general be structured as loops that

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines