⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’
Excalidraw Data
Text Elements
new
NEW
start()
Running
Ready
线程被调度器选中执行
线程被挂起
Thread.yield
Runnable
Terminated
Blocked
等待进入同步代码块的锁
Waiting
o.wait()
t.join()
LockSupport.park()
TimedWaiting
Thread.sleep(time)
o.wait(time)
t.join(time)
LockSupport.parkNanos()
LockSupport.parkUntil()
时间结束
o.notify()
o.notifyAll()
LockSupport.unpark()
获得锁