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

Comparing jsr166/src/main/java/util/concurrent/Locks.java (file contents):
Revision 1.3 by dl, Mon Jun 9 02:32:05 2003 UTC vs.
Revision 1.4 by dl, Tue Jun 24 14:34:48 2003 UTC

# Line 5 | Line 5
5   */
6  
7   package java.util.concurrent;
8 import sun.misc.Unsafe;
8   import java.util.Date;
9  
10   /**
# Line 55 | Line 54 | import java.util.Date;
54   * @spec JSR-166
55   * @revised $Date$
56   * @editor $Author$
57 + * @author Doug Lea
58   *
59   **/
60   public class Locks {
# Line 192 | Line 192 | public class Locks {
192       * Returns a conservative indicator of whether the given lock is
193       * held by any thread. This method always returns true if
194       * the lock is held, but may return true even if not held.
195 <     *
195 >     * @param lock the object serving as a lock
196       * @return true if lock is held, and either true or false if not held.
197       */
198      public static boolean mightBeLocked(Object lock) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines