文件名称:producers-and-consumers
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.39kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
生产者消费者问题的具体实现要求:
(1)、至少提供3个生产者和3个消费者六个进程并发执行;
(2)、缓冲区单元至少为十个;
(3)、生产者进程的运行速度和消费者进程的运行速度可通过时间调整,目的便于查看当生产者进程比消费者进程快时缓冲区单元的变化情况,同样的,当消费者进程比生产者进程快时也能便于查看缓冲区单元内容的变化情况;
(4)、实时显示缓冲区单元内容的变化情况,并告知是哪一个进程的行为导致了缓冲区单元内容的变化。
-Producers and consumers on the specific implementation requirements:
(1), at least three producers and three consumers six concurrent process execution
(2), the buffer unit of at least ten
(3), the producer and consumer processes speed the process speed can be adjusted through time, as producers aim to facilitate the process of viewing the process faster than the consumer unit when the buffer changes, the same, when consumers process than Producers can also facilitate the process quickly view the contents of the buffer unit changes
(4), real-time display changes the contents of the buffer unit, and inform the behavior of a process which has led to changes in the contents of the buffer unit.
(1)、至少提供3个生产者和3个消费者六个进程并发执行;
(2)、缓冲区单元至少为十个;
(3)、生产者进程的运行速度和消费者进程的运行速度可通过时间调整,目的便于查看当生产者进程比消费者进程快时缓冲区单元的变化情况,同样的,当消费者进程比生产者进程快时也能便于查看缓冲区单元内容的变化情况;
(4)、实时显示缓冲区单元内容的变化情况,并告知是哪一个进程的行为导致了缓冲区单元内容的变化。
-Producers and consumers on the specific implementation requirements:
(1), at least three producers and three consumers six concurrent process execution
(2), the buffer unit of at least ten
(3), the producer and consumer processes speed the process speed can be adjusted through time, as producers aim to facilitate the process of viewing the process faster than the consumer unit when the buffer changes, the same, when consumers process than Producers can also facilitate the process quickly view the contents of the buffer unit changes
(4), real-time display changes the contents of the buffer unit, and inform the behavior of a process which has led to changes in the contents of the buffer unit.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
生产者与消费者.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.