文件名称:xiaoa

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

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

通过程序实现定义的进程,为各进程分配资源,具体过程是:首先在程序中定义了3类资源,数量分别为10,5,7。然后定义进程p0,p1,p2,p3,p4,接着为各进程申请各资源,然后在程序执行并比较申请的资源数量与各资源所剩数量,若前者大于后者则申请失败,反之则成功。同时该程序可以撤消新建进程,也可以查看资源分配情况。-The adoption of procedures to achieve the definition of the process, the process for the allocation of resources, the specific process is: First of all, in the procedure defined 3 categories of resources, the number of 10,5,7 respectively. And then define the process of p0, p1, p2, p3, p4, then for the process to apply the resources, then the application procedure and compare the amount of resources with the remaining quantity of resources, if the former than the latter to apply for the failure, and vice versa success. At the same time, the program can withdraw the new process can also view the distribution of resources.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

银行家

......\0.cpp

......\0.dsp

......\0.dsw

......\0.ncb

......\0.opt

......\0.plg

......\Debug

......\银行家.dsp

......\银行家.dsw

......\银行家.ncb

......\银行家.opt

......\银行家.plg

相关说明

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

相关评论

暂无评论内容.

发表评论

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

源码中国 www.ymcn.org