查看会员资料
用 户 名:pan***
发送消息- Email:用户隐藏
- Icq/MSN:
- 电话号码:
- Homepage:
- 会员简介:
最新会员发布资源
thread
- 生产者,消费者线程并发进行,生产者发现缓冲区满了则唤醒消费者,自己睡眠。消费者发现缓冲区空了,唤醒生产者,自己睡眠。-The producer, the consumer thread, producers have found that the buffer is full, wake up the consumers, their sleep. Consumers find the buffer is empty, awaken the producers, their sleep.