38 |
|
|
39 |
package java.lang; |
package java.lang; |
40 |
|
|
41 |
|
|
42 |
/* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3 |
/* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3 |
43 |
* "The Java Language Specification", ISBN 0-201-63451-1 |
* "The Java Language Specification", ISBN 0-201-63451-1 |
44 |
* plus online API docs for JDK 1.2 beta from http://www.javasoft.com. |
* plus online API docs for JDK 1.2 beta from http://www.javasoft.com. |
45 |
* Status: Believed complete to version 1.4, with caveats. We do not |
* Status: Believed complete to version 1.4, with caveats. We do not |
46 |
* implement the deprecated (and dangerous) stop, suspend, and resume |
* implement the deprecated (and dangerous) stop, suspend, and resume |
47 |
* methods. Security implementation is not complete. |
* methods. Security implementation is not complete. |
48 |
*/ |
*/ |
77 |
* |
* |
78 |
* @author Tom Tromey |
* @author Tom Tromey |
79 |
* @author John Keiser |
* @author John Keiser |
80 |
* @author Eric Blake <ebb9@email.byu.edu> |
* @author Eric Blake (ebb9@email.byu.edu) |
81 |
* @see Runnable |
* @see Runnable |
82 |
* @see Runtime#exit(int) |
* @see Runtime#exit(int) |
83 |
* @see #run() |
* @see #run() |
859 |
* If you stop a Thread that has not yet started, the stop is ignored |
* If you stop a Thread that has not yet started, the stop is ignored |
860 |
* (contrary to what the JDK documentation says). |
* (contrary to what the JDK documentation says). |
861 |
* <b>WARNING</b>This bypasses Java security, and can throw a checked |
* <b>WARNING</b>This bypasses Java security, and can throw a checked |
862 |
* exception which the call stack is unprepared to handle. Do not abuse |
* exception which the call stack is unprepared to handle. Do not abuse |
863 |
* this power. |
* this power. |
864 |
* |
* |
865 |
* <p>This is inherently unsafe, as it can interrupt synchronized blocks and |
* <p>This is inherently unsafe, as it can interrupt synchronized blocks and |