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.5 by jsr166, Sun Jul 21 06:20:22 2013 UTC vs.
Revision 1.6 by jsr166, Sun Jul 21 06:24:09 2013 UTC

# Line 257 | Line 257 | public class SequenceLock implements Loc
257  
258      /**
259       * Creates an instance of {@code SequenceLock} that will retry
260 <     * attempts to acquire the lock at least the given number times
260 >     * attempts to acquire the lock at least the given number of times
261       * before blocking.
262 +     *
263 +     * @param spins the number of times before blocking
264       */
265      public SequenceLock(int spins) { sync = new Sync(spins); }
266  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines