一个 线程 的生命周期有哪几种状态?他们是怎么样扭转的?
线程的生命周期包含:new(新建),runnable(就绪),running(运行),blocked(阻塞),terminated(销毁)。
状态扭转如下图: