文件名称:smoker
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [WORD]
- 上传时间:
- 2013-12-19
- 文件大小:
- 5kb
- 下载次数:
- 0次
- 提 供 者:
- a**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
三个吸烟者在一间房间内,还有一个香烟供应者。为了制造并抽掉香烟,每个吸烟者需要三样东西:烟草、纸和火柴。供应者有丰富的货物提供。三个吸烟者 中,第一个有自己的烟草,第二个有自己的纸,第三个有自己的火柴。供应者将两样东西放在桌子上,允许一个吸烟者进行对健康不利的吸烟。当吸烟者完成吸烟后 唤醒供应者,供应者再放两样东西(随机地)在桌面上,然后唤醒另一个吸烟者。-Three smokers in a room, there is a cigarette suppliers. In order to manufacture and deprived of cigarettes per smoker needs three things: tobacco, paper and matches. Publishers have provided a wealth of goods. Three smokers have their first tobacco, the second has its own paper, and the third has its own matches. Publishers will be two things on the table, allowing a smokers smoking bad for your health. Upon completion of smoking smokers wake providers, suppliers and put two things (random) on the desktop, and then wake up the other smokers.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
smoker.doc