文件名称:philosophers
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 90kb
- 下载次数:
- 0次
- 提 供 者:
- l**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
哲学家进餐例子。 哲学家问题的大意是: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