equal
deleted
inserted
replaced
1073 * deadlocks typically manifest themselves as "frozen" processes. |
1073 * deadlocks typically manifest themselves as "frozen" processes. |
1074 * For more information, see |
1074 * For more information, see |
1075 * <a href="{@docRoot}/java.base/java/lang/doc-files/threadPrimitiveDeprecation.html">Why |
1075 * <a href="{@docRoot}/java.base/java/lang/doc-files/threadPrimitiveDeprecation.html">Why |
1076 * are Thread.stop, Thread.suspend and Thread.resume Deprecated?</a>. |
1076 * are Thread.stop, Thread.suspend and Thread.resume Deprecated?</a>. |
1077 */ |
1077 */ |
1078 @Deprecated(since="1.2") |
1078 @Deprecated(since="1.2", forRemoval=true) |
1079 public final void suspend() { |
1079 public final void suspend() { |
1080 checkAccess(); |
1080 checkAccess(); |
1081 suspend0(); |
1081 suspend0(); |
1082 } |
1082 } |
1083 |
1083 |
1099 * which has been deprecated because it is deadlock-prone. |
1099 * which has been deprecated because it is deadlock-prone. |
1100 * For more information, see |
1100 * For more information, see |
1101 * <a href="{@docRoot}/java.base/java/lang/doc-files/threadPrimitiveDeprecation.html">Why |
1101 * <a href="{@docRoot}/java.base/java/lang/doc-files/threadPrimitiveDeprecation.html">Why |
1102 * are Thread.stop, Thread.suspend and Thread.resume Deprecated?</a>. |
1102 * are Thread.stop, Thread.suspend and Thread.resume Deprecated?</a>. |
1103 */ |
1103 */ |
1104 @Deprecated(since="1.2") |
1104 @Deprecated(since="1.2", forRemoval=true) |
1105 public final void resume() { |
1105 public final void resume() { |
1106 checkAccess(); |
1106 checkAccess(); |
1107 resume0(); |
1107 resume0(); |
1108 } |
1108 } |
1109 |
1109 |