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

  • 写的哦!其他也没什么说的,只是他一定要20个字,没办法拉...
    用汇编写的哦!其他也没什么说的,只是他一定要20个字,没办法拉-compilation was made with the Oh! Others have nothing to say is that he must 20 characters, not to pull the ball! !
    2022-05-05 14:01:09下载
    积分:1
  • 这个是关于实现同步电机FOC的控制程序源代码,是基于DSP开发平台,芯片是TITMSLF2407...
    这个是关于实现同步电机FOC的控制程序源代码,是基于DSP开发平台,芯片是TITMSLF2407-This is on the realization of the control of synchronous motor FOC source code is based on a DSP development platform, the chip is TITMSLF2407
    2022-10-27 23:25:03下载
    积分:1
  • 通过本程序,让朋友们了解1620LCD的程。
    通过本程序,让朋友们了解1620LCD的编程。-Through this process, so that friends know 1620LCD programming.
    2023-06-01 16:20:03下载
    积分:1
  • emluator LED emluator LED
    emluator LED emluator LED
    2022-02-25 04:46:37下载
    积分:1
  • 《C++面向对象程序设计》答案
    《C++面向对象程序设计》答案,谭浩强, 在这部分中提供了由谭浩强编著的《C++面向对象程序程序设计》(清华大学出版社出版)一书中各章的全部 习题的参考解答。为了帮助读者更好地理解程序,我们在有的程序中加了必要的注释。对有的题目,我们 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-05-23 08:11:00下载
    积分:1
  • Digital clock procedures, suitable for use in school learning, understanding thi...
    数字钟程序,适合于在校学习学习使用,理解此程序,对于以后的编程十分有用-Digital clock procedures, suitable for use in school learning, understanding this process, for future programming very useful
    2022-06-13 02:52:52下载
    积分:1
  • 我搜索了这个网站,见提供的CD player都是 c++,delphi源程序的;我就提供一个用win32写的CD player。功能跟界面绝对不输于用上...
    我搜索了这个网站,见提供的CD player都是 c++,delphi源程序的;我就提供一个用win32汇编写的CD player。功能跟界面绝对不输于用上面软件编写的,具体功能如下: 1. CD loop. 2. Track loop. 3. Random track play. 4. Track sample. 5. Play list. 6. Track select. 7. Master volume control. 8. CD Speaker volume controls. 9. Multiple CD drive support. -search of this site, see the CD player are c, delphi source; I will provide a written using win32 compilation CD player. Functional interface with absolutely no losers in the software used to prepare the above, the specific functions as follows : 1. CD loop. 2. Track loop. 3. Random track play. 4 . Track sample. 5. Play list. 6. Track select. 7. Master volume control. 8. Speaker volume CD con trols. 9. Multiple CD drive support.
    2022-04-29 07:28:54下载
    积分:1
  • 通用键盘显示程序,可连接带有isp接口的嵌入主板
    通用键盘显示程序,可连接带有isp接口的嵌入主板-Universal Keyboard Viewer, can be connected with the isp interface embedded motherboard
    2022-11-29 11:40:03下载
    积分:1
  • 用单片机芯片ht46rb50温度计的设计、广告等。ht46rb50
    本次设计的温度计采用HT46RB50 微控制器IC,HT46RB50 的AD 口外接一热敏电阻,通过 AD 读回的电压计算出热敏电阻阻值的变化,从而实现侦测外界温度的功能。HT46RB50 通 过USB 将侦测到的温度值传入PC 机的温度显示接口中显示。 本次设计的USB 使用操作系统提供的USB HID 设备类驱动程序。 • 采用USB 控制传输向HT46RB50 发送资料 • 采用USB 中断传输接收HT46RB50 传回的资料-The design of the thermometer used HT46RB50 microcontroller IC, HT46RB50 of AD external mouth of a thermistor, through the AD read-back voltage to calculate the changes in thermistor resistance in order to achieve the function to detect the outside temperature. HT46RB50 through the USB will be detected by the temperature of the temperature of incoming PC-display interface to display. The USB to use the operating system designed to provide the USB HID device class driver.
    2022-06-16 23:32:08下载
    积分:1
  • 一种很好的用单片机控制步进电机的程序,用写。...
    一种很好的用单片机控制步进电机的程序,用汇编语言编写。-A good use of single-chip stepper motor control procedures, with the compilation of languages.
    2022-04-22 11:35:50下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载