http://www.cnblogs.com/aiheyiwen/p/4925810.html 生产者消费者模型 http://blog.csdn.net/luohuacanyue/article/details/14648185