public enum ThreadState:
Logical lifecycle state for Thread.
Thread
This is a standalone enum-like class to keep state values outside Thread.