摘要: 1,生产一个,消费多个(生产多个,消费一个):对notify()的线程没有判断:将if换成while 2,全部等待:notify换成notifyAll 阅读全文
posted @ 2018-02-08 20:19 exexex 阅读(75) 评论(0) 推荐(0) 编辑