09 2018 档案

摘要:线程wait情况下,有可能没有中断,没有唤醒,而返回, 称为spurious wakeup。 wait在循环中,通过对condition的判断来决定是否继续wait。 概率比较低。 阅读全文
posted @ 2018-09-14 17:12 swaggyC 阅读(168) 评论(0) 推荐(0) 编辑