/[classpath]/classpath/java/lang/Object.java
ViewVC logotype

Diff of /classpath/java/lang/Object.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by mark, Sat Jul 2 20:32:38 2005 UTC revision 1.23 by tromey, Tue Sep 13 21:25:11 2005 UTC
# Line 343  public class Object Line 343  public class Object
343     *     *
344     * <p>This thread still holds a lock on the object, so it is     * <p>This thread still holds a lock on the object, so it is
345     * typical to release the lock by exiting the synchronized     * typical to release the lock by exiting the synchronized
346     * code, calling wait(), or calling {@link Thread#sleep()}, so     * code, calling wait(), or calling {@link Thread#sleep(long)}, so
347     * that the newly awakened thread can actually resume.  The     * that the newly awakened thread can actually resume.  The
348     * awakened thread will most likely be awakened with an     * awakened thread will most likely be awakened with an
349     * {@link InterruptedException}, but that is not guaranteed.     * {@link InterruptedException}, but that is not guaranteed.
# Line 372  public class Object Line 372  public class Object
372     *     *
373     * <p>This thread still holds a lock on the object, so it is     * <p>This thread still holds a lock on the object, so it is
374     * typical to release the lock by exiting the synchronized     * typical to release the lock by exiting the synchronized
375     * code, calling wait(), or calling {@link Thread#sleep()}, so     * code, calling wait(), or calling {@link Thread#sleep(long)}, so
376     * that one of the newly awakened threads can actually resume.     * that one of the newly awakened threads can actually resume.
377     * The resuming thread will most likely be awakened with an     * The resuming thread will most likely be awakened with an
378     * {@link InterruptedException}, but that is not guaranteed.     * {@link InterruptedException}, but that is not guaranteed.

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26