使用wait/notify模拟阻塞队列(BlockQueue)

http://www.jianshu.com/p/99b7ef411988

原文地址:https://www.cnblogs.com/ljy-1471914707/p/7306021.html