文件名称:29_161625_pc
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:49.19kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
生产者与消费者问题算法实现,功能要求:根据进程同步机制,编写一个解决上述问题的可视化程序,可显示缓冲池状态、放数据、取数据等过程。
具体参数:有4个生产者进程,分别为P1、P2、P3和P4;
有4个消费者进程,分别是C1、C2、C3和C4;
缓冲区单元个数N=15;
不同的生产进程可生产不同的产品,自己可任意定义,在本程序中是直接将相应生产者代号放入缓冲区,消费时将某消费者消费某生产者的信息显示出来
-Producers and consumers, the issue of algorithm, the functional requirements: In accordance with the process of synchronization mechanism to resolve these issues to prepare a visual program, displays the buffer pool status, release data, check data process. Specific parameters: There are four producers in the process, namely, P1, P2, P3 and P4 there are four consumer process, namely C1, C2, C3 and C4 buffer cell number N = 15 different production processes can produce different products that they can be defined, in this process is the producer directly to the corresponding code Add buffer, consumption will be a consumer of a producer of information displayed
具体参数:有4个生产者进程,分别为P1、P2、P3和P4;
有4个消费者进程,分别是C1、C2、C3和C4;
缓冲区单元个数N=15;
不同的生产进程可生产不同的产品,自己可任意定义,在本程序中是直接将相应生产者代号放入缓冲区,消费时将某消费者消费某生产者的信息显示出来
-Producers and consumers, the issue of algorithm, the functional requirements: In accordance with the process of synchronization mechanism to resolve these issues to prepare a visual program, displays the buffer pool status, release data, check data process. Specific parameters: There are four producers in the process, namely, P1, P2, P3 and P4 there are four consumer process, namely C1, C2, C3 and C4 buffer cell number N = 15 different production processes can produce different products that they can be defined, in this process is the producer directly to the corresponding code Add buffer, consumption will be a consumer of a producer of information displayed
(系统自动生成,下载前可以参看下载内容)
下载文件列表
29_161625_pc.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.