文件名称:Producer
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:63.16kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
程序实现了两个生产者和两个消费者的生产者消费者问题(当生产者消费者数目再多时加上几个子进程就可以了)为了防止程序陷入死循环,给生产者限定了生产次数,同时为了方便截图,将次数限定的比较少。下面是我的程序:-Procedures to achieve the two producers and two consumers and producers of consumer issues (when the number of producers of consumers to add a few more hours can be a sub-process) in order to prevent the program into a death cycle, to limit the production of the number of producers At the same time, for the convenience of shots, will be a limited number of relatively small. The following is my procedure:
相关搜索: 生产者 消费者 问题 c 程序
(系统自动生成,下载前可以参看下载内容)
下载文件列表
生产者和消费者实验.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.