-
银行家算法
设Request是进程Pi 请求向量,如果Requesti [j]=k,表示进程Pi 需要k个RJ 类型的资源。当Pi 资源请求后,系统按下述步骤进行检查:
(1) 如果Requesti [j]≤Need[I,j]便转向步骤2;否则认为出错,因为它所需要的资源数已超过它所宣布的最大值。
(2) 如果便转向步骤(3);否则,表示尚无足够资源,Pi 须等待。Requesti [j]≤Available[j]
(3) 系统试探着把资源分配给进程Pi ,并修改下面数据结构中的数值:
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-04-30 21:29:17下载
- 积分:1
-
这是一款定时器软件,通过实际工程应用,可以精确到毫秒
这是一款定时器软件,通过实际工程应用,可以精确到毫秒-This is a timer software engineering through practical applications, can be accurate to milliseconds
- 2022-02-25 08:27:12下载
- 积分:1
-
一个通过网路通信的办法实现了对.net C C++程序的万能调试工具...
一个通过网路通信的办法实现了对.net C C++程序的万能调试工具-A network communications through the means of achieving on. Net C C++ programs universal debugging tool
- 2022-06-16 13:38:57下载
- 积分:1
-
a good source of information display system
一个不错的系统信息显示代码-a good source of information display system
- 2022-05-05 04:57:32下载
- 积分:1
-
应用Visual C++ 6章的例子
实用Visual C++6.0教程各章节的源代码,能很好地帮助初学者熟悉VC开发平台。-Pratical Visual C++6.0 chapter examples
- 2022-03-24 19:45:53下载
- 积分:1
-
Windows Mobile 手机应用的红外通信开发示例
Windows Mobile 手机应用的红外通信开发示例-Windows Mobile cell phone use infrared communications to develop sample
- 2022-09-23 15:05:03下载
- 积分:1
-
分酒程序, 在此不是穷举法,只是8算出了一种,现有3 ,5 , 8 三个空瓶,5,和里装有酒要求不借助于别的工具,分出一个的4酒来...
分酒程序, 在此不是穷举法,只是8算出了一种,现有3 ,5 , 8 三个空瓶,5,和里装有酒要求不借助于别的工具,分出一个的4酒来-hours liquor procedures, the law is not exhaustive, only eight of a calculated that the existing 3, 5, 8 3 bottles, 5, and Lane with the help of liquor requirements other tools, the separation of one to four liquor
- 2022-01-26 15:33:03下载
- 积分:1
-
利用VC+ARCOBJECTS开发的简单示例
利用VC+ARCOBJECTS开发的简单示例-VC ARCOBJECTS development of the simple examples
- 2022-03-11 15:50:31下载
- 积分:1
-
文本文件通用抽奖程序源程序
本程序可以实现对任何纯文本文件进行随机抽奖的功能,其中一等奖,二等奖,三
等奖最多可以抽取100名,鼓励奖...
文本文件通用抽奖程序源程序
本程序可以实现对任何纯文本文件进行随机抽奖的功能,其中一等奖,二等奖,三
等奖最多可以抽取100名,鼓励奖最多可以抽取1000名。总抽奖数量为1300人。样本的
文本文件长度没有限制。-generic text files source of the draw procedure procedures can be achieved on any text file with random draw to the function, which won the second prize, a third can be taken up to 100, the prize can be taken up to 1000. The draw of the total number of 1300. Samples of the text is no restriction on the length of documents.
- 2022-08-12 10:14:02下载
- 积分:1
-
C# 源码 集成了很多Ajax控件,其中Tabs选项卡控件是非常实用的....
C# 源码 集成了很多Ajax控件,其中Tabs选项卡控件是非常实用的.-C# source code control integration of a lot of Ajax, which Tabs tab control is very practical.
- 2022-12-25 22:30:03下载
- 积分:1