文件名称:lifawenti
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:6.54kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设有一个理发师,5把椅子(另外还有一把理发椅),几把椅子可用连续存储单元。
要求:
1)为每个理发师/顾客产生一个线程,设计正确的同步算法
2)每个顾客进入理发室后,即时显示“Entered” 及其线程自定义标识,还同时显示理发室共有几名顾客及其所坐的位置。
3)至少有10个顾客,每人理发至少3秒钟。
4)多个顾客须共享操作函数代码。 -There is a barber, five chairs (in addition to a barber chair), a few chairs available contiguous memory cell. Requirements: 1) for each of the barber/customer to generate a thread, designed to correct synchronization algorithm 2) Every customer entered a barbershop, immediately after the show " Entered" and the thread is a custom logo, also showed there were a few barbershop Customers and the sitting position. 3) At least 10 customers, each hair for at least 3 seconds. 4) A number of customers to share the operation of the function code.
要求:
1)为每个理发师/顾客产生一个线程,设计正确的同步算法
2)每个顾客进入理发室后,即时显示“Entered” 及其线程自定义标识,还同时显示理发室共有几名顾客及其所坐的位置。
3)至少有10个顾客,每人理发至少3秒钟。
4)多个顾客须共享操作函数代码。 -There is a barber, five chairs (in addition to a barber chair), a few chairs available contiguous memory cell. Requirements: 1) for each of the barber/customer to generate a thread, designed to correct synchronization algorithm 2) Every customer entered a barbershop, immediately after the show " Entered" and the thread is a custom logo, also showed there were a few barbershop Customers and the sitting position. 3) At least 10 customers, each hair for at least 3 seconds. 4) A number of customers to share the operation of the function code.
相关搜索: 理发师
(系统自动生成,下载前可以参看下载内容)
下载文件列表
lifawenti.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.