-
项目开发规范.rar
项目开发规范.rar -Project development norms. Rar
- 2023-06-13 01:10:04下载
- 积分:1
-
哲学家进餐问题是荷兰学者Dijkstra 提出的经典问题之一,它是一个信号量机制问题的应用,在操作系统文化史上具有非常重要的地位。对该问题的剖析有助于学生深刻地...
哲学家进餐问题是荷兰学者Dijkstra 提出的经典问题之一,它是一个信号量机制问题的应用,在操作系统文化史上具有非常重要的地位。对该问题的剖析有助于学生深刻地理解计算机系统中的资源共享、进程同步、死锁等问题,并能熟练地应用信号量来解决生活中的控制流程,即将生活中的控制流程用形式化的方式表达出来。
假设有5个哲学家,他们花费一生中的时光思考和吃饭。这些哲学家共用一个圆桌,每个哲学家都有一把椅子。在桌子中央是一碗通心面,在桌子上放着5只筷子。(如图所示)当一个哲学家思考时,他与其他同事不交互。时而,哲学家会感到饥饿,并试图拿起与他相近的两只筷子(他与邻近左、右之间的筷子)。一个哲学家一次只能拿起一只筷子。显然,他不能从其他哲学家手里拿走筷子。当一个饥饿的哲学家同时有两只筷子时,他就不能不用释放他的筷子而自己吃了。当吃完后,他会放下两只筷子,并再次开始思考。
规定奇数号哲学家先拿他左边的筷子,然后再去拿右边的筷子;而偶数号哲学家则相反。按此规定,将是1、 2号哲学家竞争1号筷子;3、4号哲学家竞争3号筷子。即五位哲学家都先竞争奇数号筷子,获得后,再去竞争偶数号筷子,最后总会有一位哲学家能获得两只筷子而进餐。
-dining philosophers problem is the Netherlands scholars Dijkstra"s one of the classic, It is a signal to the mechanism of application, the operating system in the history of culture has a very important position. Analysis of the problem to help students understand deeply the computer system resource sharing, process synchronization, and other issues Deadlock, skilled and can be applied to solve the signal volume life of the control flow, about the life of the control flow wi
- 2022-03-25 04:58:02下载
- 积分:1
-
The preparation of a treeview with C# examples, and databases connected through...
一个用C#编写treeview的例子,通过WEBSERCIE和数据库相连-The preparation of a treeview with C# examples, and databases connected through WEBSERCIE
- 2023-09-08 15:10:03下载
- 积分:1
-
For MPEG
用于MPEG-4视听流的RTP负载格式,是本人学习流媒体传输是找的资料,希望对大家有用-For MPEG-4 audio and video RTP streams load format, is my learning streaming media transmission is to find the information useful for all of us hope
- 2022-04-18 13:02:21下载
- 积分:1
-
这是一些省市高等教育自学考试软件工程试题,相信帮助那些参加这方面考试的人会有不少的帮助.每套卷子后都有详细的答案....
这是一些省市高等教育自学考试软件工程试题,相信帮助那些参加这方面考试的人会有不少的帮助.每套卷子后都有详细的答案.-some provinces higher education self-study examination of software engineering questions, I believe that to help those involved in this examination will have a lot of input. After testing each have a detailed answer.
- 2023-05-10 05:40:03下载
- 积分:1
-
一本计算方法很有用的书,主要的运行环境为MATLAB,里面的算法比较齐全,值得下载。...
一本计算方法很有用的书,主要的运行环境为MATLAB,里面的算法比较齐全,值得下载。-a useful method book, the main operating environment for MATLAB, inside the algorithm relatively complete, it is worth the download.
- 2022-03-06 18:36:22下载
- 积分:1
-
的
The
VLSI
Handbook
Second Edition
The Electrical Engineering Handbook Series
- 2022-01-25 18:57:40下载
- 积分:1
-
use of new technology Distributed Object
利用新的分布式对象技术-移动agent实现的掌上电脑证券监管系统-use of new technology Distributed Object-agent mobile handheld computer to achieve the securities regulatory system
- 2023-03-13 10:25:04下载
- 积分:1
-
PIC单片机上的键盘扫描
PIC单片机上的键盘扫描-PIC Singlechip keyboard scanning
- 2022-02-25 17:49:08下载
- 积分:1
-
#include <stdio.h>
#include <stdlib.h>
#define STACKSIZE 50
typed...
顺序栈的出栈、入栈、求栈长等基本操作
#include
#include
#define STACKSIZE 50
typedef char DateType
typedef struct-#include
#include
#define STACKSIZE 50
typedef char DateType
typedef struct
- 2022-01-25 22:01:46下载
- 积分:1