文件名称:yinhangjia
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.59kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
实现死锁避免算法——银行家算法
1、程序运行开始时,资源全部可用。资源种类约10种,每种资源数目为1~10。
2、不断随机产生或手工输入新的“进程资源需求向量”,并填写到最大需求矩阵。
3、在各进程的最大需求数量范围内(因此需作是否超出范围的检验),为各进程随机生成或手工输入资源请求。经银行家算法后输出系统是否安全的信息。当一个进程的资源请求全部发完后,认为它结束
-Deadlock Avoidance Algorithm implementation- one banker' s algorithm, the program running at the beginning of all available resources. About 10 kinds of types of resources, each resource number 1 ~ 10.2, continuously randomly generated or manually enter a new " process of resource requirements vector," and fill in the greatest demand matrix. 3, in the process the greatest number of the scope of the demand (and therefore beyond the scope of required testing), for the process of randomly generated or manually enter the resource requests. By the banker' s algorithm output system after the information is safe. When a process requests resources hair after all, consider it to end
1、程序运行开始时,资源全部可用。资源种类约10种,每种资源数目为1~10。
2、不断随机产生或手工输入新的“进程资源需求向量”,并填写到最大需求矩阵。
3、在各进程的最大需求数量范围内(因此需作是否超出范围的检验),为各进程随机生成或手工输入资源请求。经银行家算法后输出系统是否安全的信息。当一个进程的资源请求全部发完后,认为它结束
-Deadlock Avoidance Algorithm implementation- one banker' s algorithm, the program running at the beginning of all available resources. About 10 kinds of types of resources, each resource number 1 ~ 10.2, continuously randomly generated or manually enter a new " process of resource requirements vector," and fill in the greatest demand matrix. 3, in the process the greatest number of the scope of the demand (and therefore beyond the scope of required testing), for the process of randomly generated or manually enter the resource requests. By the banker' s algorithm output system after the information is safe. When a process requests resources hair after all, consider it to end
相关搜索: yinhangjia
(系统自动生成,下载前可以参看下载内容)
下载文件列表
yinhangjia.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.