线程状态
2021-11-12 17:09:05 3 举报
线程状态之间的切换
作者其他创作
大纲/内容
Terminated
获得锁
获取到时间片
Runnable
wait()
Blocked
I/O interruptsleep()join()
Running
Blocked in Object's Wait Pool等待池
线程
yield()时间片到期
start()
Blocked in Object's Lock Pool等锁池
run() completes
sleep() time outthread joins or interrupt()
notify()/notifyAll() or interrupt()
synchronized
0 条评论
下一页