文件名称:H3
- 所属分类:
- 系统编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2014-04-13
- 文件大小:
- 408kb
- 下载次数:
- 1次
- 提 供 者:
- dongch*******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
国外大学 操作系统的作业 适合操作系统初学者-Problem Descr iption:
An extended case of the producer-consumer model
There are 3 generators and each produces a unique kind of material
independently. All these materials are stored in a input buffer with size
10 before they are forwarded to the operators. We have 3 operators with
same priority who are responsible for producing the products based on
these materials. Each product needs 2 different kinds of materials. Each
time an operator needs 2 tools for this purpose. There are totally 3 tools
provided for these operators. An operator can only process one product at
one time. When an operator gets both the materials and tools, he can
produce a product within a limited time varied from 0.01 second to 1
second. Otherwise, he has to wait until all the necessities are met. He
can grab the materials or tools first, it does not matter, but he can
only get one thing at one time. If an operator decides to make another
product before he starts to make the cur
An extended case of the producer-consumer model
There are 3 generators and each produces a unique kind of material
independently. All these materials are stored in a input buffer with size
10 before they are forwarded to the operators. We have 3 operators with
same priority who are responsible for producing the products based on
these materials. Each product needs 2 different kinds of materials. Each
time an operator needs 2 tools for this purpose. There are totally 3 tools
provided for these operators. An operator can only process one product at
one time. When an operator gets both the materials and tools, he can
produce a product within a limited time varied from 0.01 second to 1
second. Otherwise, he has to wait until all the necessities are met. He
can grab the materials or tools first, it does not matter, but he can
only get one thing at one time. If an operator decides to make another
product before he starts to make the cur
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Debug\Project10.exe
.....\Project10.ilk
.....\Project10.pdb
Main.cpp
Report.pdf
Report.wps
Debug