public enum State { //新线程 NEW, //运行中 RUNNABLE, //阻塞 BLOCKED, //等待中 WAITING, //过了时间就不等待了 TIMED_WAITING, //终止 TERMINATED; }
2024-03-08 13:02:46
public enum State { //新线程 NEW, //运行中 RUNNABLE, //阻塞 BLOCKED, //等待中 WAITING, //过了时间就不等待了 TIMED_WAITING, //终止 TERMINATED; }