to yangtian(扬天一啸)
不懂就不要瞎讲。你难道看不懂英文?我不认为内存比cpu 更值得关注。
“只是让它暂时休息,需要时激活“------这句话也是错的。
对于sleep()方法而言,不是时间到了线程就会继续执行的,
”when the thread has finished sleeping ,it does not continue execution.As you would expect.it enters the Ready state and will only execute when the thread scheduler allows it to do so .----用不用我告诉你什么是the Ready state ?