
7 Apr
2022
7 Apr
'22
9:42 a.m.
On Apr 7, 2022, at 08:22, Alessio Stalla <alessiostalla@gmail.com> wrote:
[…] Java threads already natively have an interrupt flag.
Presumably, the [Thread.State enumeration] is what you are referring to. I have checked that it is present in openjdk{8,11,17}, and not marked as deprecated. [1]: https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.State.html -- "A screaming comes across the sky. It has happened before but there is nothing to compare to it now."