文件名称:banker
介绍说明--下载内容均来自于网络,请自行研究使用
操作系统按照银行家制定的规则为进程分配资源,当进程首次申请资源时,要测试该进程对资源的最大需求量,如果系统现存的资源可以满足它的最大需求量则按当前的申请量分配资源,否则就推迟分配。当进程在执行中继续申请资源时,先测试该进程本次申请的资源数是否超过了该资源所剩余的总量。若超过则拒绝分配资源,若能满足则按当前的申请量分配资源,否则也要推迟分配。(Operating system for the process of allocation of resources in accordance with the banker rules, when the process for the first time for resources, to test the maximum demand in the process of resources, if the existing system resources can meet the maximum needs of its weight distribution according to the resources of the application, or delay distribution. When the process continues to apply for resources, the process is tested to see if the number of resources in the application exceeds the amount remaining in the resource. If you exceed, then refuse to allocate resources, if you can meet, according to the current amount of application allocation of resources, or postpone the allocation.)
相关搜索: 银行家算法
(系统自动生成,下载前可以参看下载内容)
下载文件列表
banker.h
main.c
banker\banker.c
banker\banker.h
banker
main.c
banker\banker.c
banker\banker.h
banker