文件名称:Bank

  • 所属分类:
  • 压缩解压
  • 资源属性:
  • [Windows] [Visual C] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 1.02mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • k***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

 银行家算法又称“资源分配拒绝”法,其基本思想是:系统中的所有进程放入进程集合,在安全状态下系统受到进程的资源请求后,先把资源试探性地分配给它。现在,系统将剩下的可用资源和进程集合中的其它进程还需要的资源数作比较,找出剩余资源能满足最大需求量的进程,从而保证进程运行完毕并归还全部资源。这时,把这个进程从进程金额和中删除,归还其所占用的所有的资源,系统的剩余资源更多。反复执行上述步骤。最后,检查进程集合,若为空则表明本次申请可行,系统处于安全状态,可以真正实施本次分配;否则,只要进程集合非空,系统便处于不安全状态,本次资源分配暂不实施,让申请资源的进程等待。-Bankers algorithm, also known as " resource allocation refuse" method, the basic idea is: all the processes in the system into the process of collection system in a safe state by the process of resource requests, the first resource tentatively assigned to it. Now, the system will be the rest of the available resources and the process of collection of other processes also need the number of resources compared to identify the remaining resources to meet the maximum demand of the process, so as to ensure that the process has finished running, and the return of all the resources. At this time, this process is removed from the process amounts and in the return of all the resources of the occupied more of the system s remaining resources. Repeatedly performing the above steps. Finally, check the process of collection, it indicates that the application is feasible if it is empty, the system is in a safe state, can really implement the allocation otherwise, as long as the process
(系统自动生成,下载前可以参看下载内容)

下载文件列表





7资源分配Bank

.............\Bank.cpp

.............\Debug

.............\.....\Bank.obj

.............\.....\vc60.idb

.............\.....\vc60.pdb

.............\.....\资源分配Bank.exe

.............\.....\资源分配Bank.ilk

.............\.....\资源分配Bank.pch

.............\.....\资源分配Bank.pdb

.............\资源分配Bank.dsp

.............\资源分配Bank.dsw

.............\资源分配Bank.ncb

.............\资源分配Bank.opt

.............\资源分配Bank.plg

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org