首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > Dining philosophers problem is presented and solved Dijkatra typical synchroniza...

Dining philosophers problem is presented and solved Dijkatra typical synchroniza...

  • 资源大小:6.22 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 汇编语言

资 源 简 介

哲学家就餐问题是由Dijkatra提出并解决的典型同步问题。该问题描述的是有五个哲学家共用一张圆桌,分别坐在周围的五张椅子上,圆桌上有五个碗和五只筷子,他们的生活方式是交替的进行思考和就餐。平时,一个哲学家进行思考,饥饿时便试图取用其左右最靠近他的筷子,只有在他拿到两只筷子时才能进餐。进餐完,放下筷子继续思考。-Dining philosophers problem is presented and solved Dijkatra typical synchronization problems. Description of the problem is that there are five philosophers share a round-table were sitting around the five chair, round table has five bowl and five chopsticks, their way of life is the turn of thinking and eating. Normally, a philosopher to think, hunger when trying to access their nearest him about the chopsticks, only if he can get two chopsticks when eating. End meals, to lay down their chopsticks to continue thinking.

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • 猕猴桃 54分钟前 成为了本站会员

  • 11 4小时前 成为了本站会员

  • 开心快活人 7小时前 成为了本站会员

  • 晋财 8小时前 成为了本站会员

  • WYG 1天前 成为了本站会员

  • Shine 1天前 成为了本站会员

  • 柳贻 1天前 成为了本站会员

  • hallelujah_HL 1天前 成为了本站会员

  • 焦昱贺 1天前 成为了本站会员

  • Rubin 1天前 成为了本站会员

0.208161s