登录
首页 » 汇编语言 » Dining philosophers problem is presented and solved Dijkatra typical synchroniza...

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

于 2023-06-13 发布 文件大小:6.22 kB
0 131
下载积分: 2 下载次数: 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.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 本程序有详细的注释,切运行无误 ,程序模块清晰,移植性好,可以实现密码的识别,具有报警的功能...
    本程序有详细的注释,切运行无误 ,程序模块清晰,移植性好,可以实现密码的识别,具有报警的功能-the procedures detailed in the Notes, cut operating correctly, program modules clear, transplantation, and passwords can be achieved recognition, with alarm function
    2022-03-16 15:39:32下载
    积分:1
  • MSC v5.1库的补充
    MSC v5.1库的补充 -MSC version 5.1 for the supplementary
    2022-12-23 17:30:04下载
    积分:1
  • 6221mada.asm.........遥控电机程序, 按遥控器0
    6221mada.asm.........遥控电机程序, 按遥控器0-9步进电机正转0-9步,按遥控器11-19步进电器分别反转 dianji.asm..........步进电机正转,反转各3圈 keyd.asm............步进电机控制程序p3.2正转,p3.3反转,p3.4停止 步进电机接p1.0p1.1p1.2p1.3 abdian.asm...........步进电机正反快慢转! madatest.asb.............步进电机测试,最简单的转圈程序 -6221mada.asm ......... electric remote control procedures, in accordance with the remote control stepper motors 0-9 to 0-9 are step-by-step, 11-19 step by remote control electrical inversion, respectively dianji.asm ... stepper motor is ....... turn, reversal of the 3 lap keyd.asm ............ stepper motor control program to p3.2 is, p3.3 inversion, p3.4 stepper motor to stop p1.0p1.1p1.2p1.3 abdian.asm ........... then stepping motor speed to the pros and cons! stepper motor test madatest.asb ............., the simplest circular motion the procedures
    2022-01-26 03:29:05下载
    积分:1
  • hotkey.rar
    hotkey.rar
    2023-02-01 06:00:03下载
    积分:1
  • PCI routines
    PCI例程
    2022-02-24 09:48:54下载
    积分:1
  • PK found online advertising for V1.0
    PK广告查杀器 V1.0-PK found online advertising for V1.0
    2022-03-14 14:12:18下载
    积分:1
  • 8031直接驱动LED的电路 以下是利用8031的I/O口直接驱动LED的电路原理图。电路通过8031的P0、P2口连接一片74LS373和一片27128构...
    8031直接驱动LED的电路 以下是利用8031的I/O口直接驱动LED的电路原理图。电路通过8031的P0、P2口连接一片74LS373和一片27128构成外拓存储器,通过P1口直接连接LED,驱动显示器,通过P3.0、P3.1、P3.2、P3.3连接电平开关S1、S2、S3、S4作为逻辑输入控制。-8031 direct-drive LED circuit is the use of 8031 following the I/O port directly drive LED circuit schematic. Circuit through the 8031
    2022-01-25 21:42:50下载
    积分:1
  • 最简单的程序,功能不错
    最简单的汇编程序,功能不错-compilation of the most simple procedures, functions well
    2023-02-18 10:20:03下载
    积分:1
  • 单源最短路径问题
    单源最短路径问题-single source shortest path problem
    2023-01-05 19:20:03下载
    积分:1
  • sam课程设计的sam,栽斤斗三风口浪尖我ieufsdljfuefs
    sam课程设计的sam,栽斤斗三风口浪尖我ieufsdljfuefs-sam curriculum design of sam, planted three Tuyere wave loop I ieufsdljfuefs
    2022-11-08 19:05:02下载
    积分:1
  • 696516资源总数
  • 106430会员总数
  • 0今日下载