bank
所属分类:
操作系统开发
开发工具:SQL
文件大小:13KB
下载次数:36
上传日期:2004-06-11 17:44:34
上 传 者:
weiwei
说明: 用c++编的银行家算法
(With c++ Made the banker s algorithm)
文件列表:
bank (0, 2004-06-03)
bank\1.cpp (8301, 2003-10-04)
bank\Allocated_list.txt (32, 2003-10-03)
bank\Initiate.txt (47, 2003-10-03)
bank\Request_list.txt (5, 2003-09-27)
bank\银行家算法.doc (58368, 2003-10-11)
bank\银行家算法帮助文件.txt (776, 2004-06-02)
数据测试
注:数组Array[I]表示第I+1个实际意义量
1. 见Initiate.txt
3 4 20 6 //共有3类资源,Available[0]=4; Available[1]=20; Available[2]=6
4 //当前系统中有4个进程
1 11 3 // Max[0][0]=1
1 2 1 //Max[1][1]=2
1 1 1
1 1 1
2. 见Allocated_list.txt
0 5 0 //Allocation[0][1]=5
0 0 0
0 0 0
0 0 0
3. 见Request_list.txt
1 2 5 //第1个进程请求第2类资源5个Request[0][1]=5
近期下载者:
相关文件:
收藏者: