OpenJDK / jdk / jdk
changeset 59862:c5904de55565
8247899: HTML errors and warnings in threadPrimitiveDeprecation.html
Reviewed-by: lancea
author | jjg |
---|---|
date | Thu, 18 Jun 2020 17:32:57 -0700 |
parents | f80508232687 |
children | ba81cfc89de8 |
files | src/java.base/share/classes/java/lang/doc-files/threadPrimitiveDeprecation.html |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/doc-files/threadPrimitiveDeprecation.html Thu Jun 18 16:21:34 2020 -0700 +++ b/src/java.base/share/classes/java/lang/doc-files/threadPrimitiveDeprecation.html Thu Jun 18 17:32:57 2020 -0700 @@ -282,7 +282,7 @@ } } </pre> -<hr size="3" noshade="noshade" /> +<hr> <h2>Can I combine the two techniques to produce a thread that may be safely "stopped" or "suspended"?</h2> Yes, it's reasonably straightforward. The one subtlety is that the @@ -324,6 +324,5 @@ described above, it needn't call <code>notify</code> as well, but it still must be synchronized. This ensures that the target thread won't miss an interrupt due to a race condition. -<p><!-- Body text ends here --></p> </body> </html>