文件名称:philosophers
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:89.61kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
哲学家进餐例子。 哲学家问题的大意是:5个哲学家围坐在一张圆桌周围,每个哲学家面
前有一碟通心面,要使用筷子才能进餐。相邻两个碟子之间有一根筷子。哲
学家包含三种状态:吃饭、思考和挨饿。当一个哲学家觉得饿时,他才试
图分两次去取他左边和右边的筷子就餐,吃完以后放下筷子继续思考。-The dining philosophers example. Philosophers problem to the effect that: five philosophers sitting around a round table in front of each philosopher, a dish of macaroni, to use chopsticks in order to dine. Between adjacent two dishes with a chopstick. Philosophers contains three states: eating, thinking and hungry. When a philosopher feel hungry, he tried twice to pick up his left and right chopsticks dining, put down the chopsticks after eating continue to think about.
前有一碟通心面,要使用筷子才能进餐。相邻两个碟子之间有一根筷子。哲
学家包含三种状态:吃饭、思考和挨饿。当一个哲学家觉得饿时,他才试
图分两次去取他左边和右边的筷子就餐,吃完以后放下筷子继续思考。-The dining philosophers example. Philosophers problem to the effect that: five philosophers sitting around a round table in front of each philosopher, a dish of macaroni, to use chopsticks in order to dine. Between adjacent two dishes with a chopstick. Philosophers contains three states: eating, thinking and hungry. When a philosopher feel hungry, he tried twice to pick up his left and right chopsticks dining, put down the chopsticks after eating continue to think about.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
background.png
c1.png
c2.png
c3.png
c4.png
c5.png
Demo.java
eating.gif
empty.png
hunger.gif
thinking.gif
c1.png
c2.png
c3.png
c4.png
c5.png
Demo.java
eating.gif
empty.png
hunger.gif
thinking.gif
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.