搜索资源列表
manypeopleeatfood
- 5个哲学家决定筷子当前是否可用,筷子如果被人拿起,则不可用,放下则哲学家可用就餐,只有5只筷子,哲学家两个动作,就餐或思考问题-5 philosophers decide whether the current available chopsticks, chopsticks if it is picked up is not available, put the philosopher can eat only five chopsticks, philosopher two movement
philosophers
- 哲学家进餐例子。 哲学家问题的大意是:5个哲学家围坐在一张圆桌周围,每个哲学家面 前有一碟通心面,要使用筷子才能进餐。相邻两个碟子之间有一根筷子。哲 学家包含三种状态:吃饭、思考和挨饿。当一个哲学家觉得饿时,他才试 图分两次去取他左边和右边的筷子就餐,吃完以后放下筷子继续思考。-The dining philosophers example. Philosophers problem to the effect that: five philosophers sitting arou
EXP3-5_2
- uc/os-2 实现五个哲学家的就餐问题 任务调度,使用信号量集实现任务间通信-uc/os-2 achieve five dining philosophers problem of task scheduling, using the signal magnitude to achieve inter-task communication