登录
首页 » 汇编语言 » 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 175
下载积分: 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 个回复

  • 写的生日快乐
    用汇编语言写的生日快乐-using assembly language to write a happy birthday
    2022-08-07 00:55:48下载
    积分:1
  • 遥控小车(51单片机开发例子子程序写)
    遥控小车(51单片机开发例子子程序汇编语言编写)-Remote control cars (51 single-chip development to prepare examples of assembly language subroutines)
    2022-10-12 15:40:03下载
    积分:1
  • 车站售票管理
    车站车票销售管理-station ticket sales management
    2023-01-19 05:30:03下载
    积分:1
  • 推箱子
    推箱子-Sokoban
    2023-03-22 03:15:04下载
    积分:1
  • EPA pollution control system equipment online
    环保局污染设备在线控制系统 -EPA pollution control system equipment online
    2023-08-02 21:50:04下载
    积分:1
  • 利用DS18B20温度传感器+AT89C51控制直流电机转速,
    利用DS18B20温度传感器+AT89C51控制直流电机转速,-The use of DS18B20 temperature sensor+ AT89C51 control DC motor speed,
    2022-01-26 00:18:10下载
    积分:1
  • 《C++面向对象程序设计》答案
    《C++面向对象程序设计》答案,谭浩强, 在这部分中提供了由谭浩强编著的《C++面向对象程序程序设计》(清华大学出版社出版)一书中各章的全部 习题的参考解答。为了帮助读者更好地理解程序,我们在有的程序中加了必要的注释。对有的题目,我们 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-05-23 08:11:00下载
    积分:1
  • CMCRC.ASM is a simple program just to demonstrate how to compute the CRC
    CMCRC.ASM is a simple program just to demonstrate how to compute the CRC-16 and CRC-32 using the crc16_table and crc32_table that were generated by CRCTABLE. -CMCRC.ASM is a simple program just to demon strate how to compute the CRC-16 and CRC-32 usin g and the crc16_table crc32_table that were gen erated by CRCTABLE.
    2022-08-16 04:09:49下载
    积分:1
  • 学习如何使用MPLAB集成开发环境(IDE)的码基因…
    To learn how to use MPLAB Integrated Development Environment (IDE) for code generation, simulation, and debugging. This code is a very simple program that sets up PORTC and PORTB I/Os and sends some values over these ports, and tries to read Port C and increments a counter and resets to a predetermined value when the counter rolls over to zero. All labels start in the first column, and the last line has an end directive. For detailed information, refer to the PIC18F452 datasheet on the course web page.
    2022-07-13 16:21:22下载
    积分:1
  • good
    液晶的一些内容 很实用 希望能帮厨大家 -good
    2022-02-07 06:04:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载