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