文件名称:yinhangjiasuanfa
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.07mb
- 下载次数:
- 0次
- 提 供 者:
- g**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
设计程序模拟预防进程死锁的银行家算法的工作过程。假设有系统中有n个进程P1, … ,Pn,有m类可分配的资源R1, … ,Rm,在T0时刻,进程Pi分配到的j类资源为Allocationij个,它还需要j类资源Need ij个,系统目前剩余j类资源Workj个,现采用银行家算法进行进程资源分配预防死锁的发生。-Process simulation program designed to prevent deadlock bankers algorithm works. Suppose the system has n processes P1, ..., Pn, there are m types of resources can be allocated R1, ..., Rm, at the time T0, the process Pi assigned to the j class resources Allocationij one, it requires resources Need class j ij a system is currently remaining resources Workj a class j, is the process of using the banker' s algorithm for the allocation of resources to prevent deadlock from occurring.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
银行家算法
..........\Bank.cpp
..........\Bank.dsp
..........\Bank.dsw
..........\Bank.ncb
..........\Bank.opt
..........\Bank.plg
..........\Bank1.cpp
..........\Debug
..........\.....\Bank.exe
..........\.....\Bank.ilk
..........\.....\Bank.obj
..........\.....\Bank.pch
..........\.....\Bank.pdb
..........\.....\vc60.idb
..........\.....\vc60.pdb
..........\Bank.cpp
..........\Bank.dsp
..........\Bank.dsw
..........\Bank.ncb
..........\Bank.opt
..........\Bank.plg
..........\Bank1.cpp
..........\Debug
..........\.....\Bank.exe
..........\.....\Bank.ilk
..........\.....\Bank.obj
..........\.....\Bank.pch
..........\.....\Bank.pdb
..........\.....\vc60.idb
..........\.....\vc60.pdb