关于Thread.sleep()方法
Sleeping is used to delay execution for a period of time, and no locks are
released when a thread goes to sleep.
When the sleep or wait is over, or an object’s lock becomes available, the thread can only reenter the runnable state. It will go directly from waiting to running (well, for all practical purposes anyway).
既然sleep时,线程仍然拥有对象的锁,那么wake up的时候怎么还会 "不一定" 进入运行状态的呢?
如何理解,请指教(正在看SCJP)。