java多线程活动图
2017-09-11 14:42:48 1 举报
java多线程的生命周期以及上下文切换的时序图
作者其他创作
大纲/内容
LockSupport.park()
notify()/notifyAll()
Object.wait(timeout)
lock
selected
Ready
wait()
Terminated
Running
timeout elapsed
end
Runnable
thred.yield
begin
LockSupport.parkXXX
TIMED_WAITING
Thread.join()
request blocked I/O
I/O completed
BLOCKED
WAITING
lock released
suspend
wait terminated
LockSupport.unpark()
Thread.sleep(timeout)
new
收藏
0 条评论
下一页