文件名称:barars
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
,(1)一个理发店接待室有n张椅子,工作室有1张椅子; (2)没有顾客时,理发师睡觉; (3)第一个顾客来到时,必须将理发师唤醒; (4)顾客来时如果还有空座的话,他就坐在一个座位上等待; (5)如果顾客来时没有空座位了,他就离开,不理发了; (6)当理发师处理完所有顾客,而又没有新顾客来时,他又开始睡觉。用条件变量实现(3张椅子)-, (1) a barber shop reception room with n chairs, studios have a chair (2) no customers, the barber sleep (3) the first customer arrives, the barber must wake up (4 ) to the customer if there are empty seats, then when he sat on a seat to wait (5) If the customer to an empty seat when not, and he left, not a haircut (6) When the barber finished with all customers, but no new customers to come, he began to sleep. With the condition variable implementation (three chairs)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
barars.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
