线程的生命周期状态

Thread.State的值是一个枚举值:

  1. NEW:
  2. RUNNABLE:
  3. BLOCKED:
  4. WAITING:
  5. TIMED_WAITING:
  6. TERMINATED:

posted on 2020-02-02 23:13  shammgod_code  阅读(111)  评论(0编辑  收藏  举报

导航