登录
首页 » Visual C++ » lock_hungry

lock_hungry

于 2021-01-17 发布 文件大小:1KB
0 267
下载积分: 1 下载次数: 22

代码说明:

   给出进程需求矩阵C、资源向量R以及一个进程的申请序列。使用进程启动拒绝和资源分配拒绝(银行家算法)模拟该进程组的执行情况。要求: 初始状态没有进程启动 计算每次进程申请是否分配?如:计算出预分配后的状态情况(安全状态、不安全状态),如果是安全状态,输出安全序列。 每次进程申请被允许后,输出资源分配矩阵A和可用资源向量V。 每次申请情况应可单步查看,如:输入一个空格,继续下个申请 (The  gives processes demand matrix C resource vector R as well as the application of a process sequence. Using the process starts refused to reject and resource allocation (the bankers algorithm) analog implementation of the process group. Requirements: initial state process starts calculated each time the process is whether the application is assigned? : Calculate a state after the pre-allocated (safe state, unsafe state), if it is a safe state, the output safety sequence. Each process the application is allowed, the the output resource allocation matrix A and the resources available vector V. Each application should be able to single-step view, such as: type a space, continue to the next application)

文件列表:

lock_hungry.cpp,3461,2013-01-08

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • mbrowsedlg
    使用SetWindowLong改变窗口的缺省窗口处理函数,从而建立可以显示不同颜色列表的程序(use SetWindowLong to change the default window to window handling functions, establish can show different colors scheduling procedures)
    2006-07-17 11:13:46下载
    积分:1
  • POP3
    核心实例 POP3上电子邮件的检查,POP3协议,网络编程(POP3 email check)
    2010-11-11 13:50:50下载
    积分:1
  • CC2530-in-Chinese
    德州仪器公司的CC2530芯片手册,用于ZigBee技术的IEEE 802.15.4协议的2.4GHz通信应用(CC2530-in Chinese)
    2013-10-26 18:41:11下载
    积分:1
  • WGS84_to_Beijing54
    WGS84到北京54的坐标转换程序,7参数空间相似变换模型。(WGS84 cordinate system transform to Beijing 54 corninate system program, which use 7 parameters space simar transform model.)
    2021-01-13 22:18:47下载
    积分:1
  • spcgqq
    商品采购管理系统 采用VC++进行数据库编程 并且附带了基于SQL2008的数据库 (Commodity procurement management system using VC++ programming and SQL2008 )
    2015-03-09 17:50:30下载
    积分:1
  • Asp.netAtlas
    一个Atlas+ASP.NET2.0无刷新的TAB源代码,效果不错啊(an Atlas ASP.NET2.0 REFRESHING TAB source code, ah good results)
    2007-06-26 09:39:42下载
    积分:1
  • testDShow
    vc6.0下基于directshow的图像采集程序,项目内部包含了directshow相关库。大家知道的,directshow,模块现在不包含在directX内了,而且配置麻烦,很容易有各种问题的。这个程序在win7-32bit 和WinXP 都ok(vc6.0 under directshow based image acquisition process, the project contains internal directshow related libraries. We all know, directshow, the module is not included in directX now within it, and configure the trouble, it is likely to have a variety of issues. This program in win7-32bit and WinXP are ok)
    2013-06-27 12:45:09下载
    积分:1
  • 20090311_e87c3416f74360b5c654JUkvxUbgTuPd
    可以实现文隐藏的源代码,利用驱动实现彻底隐藏文件(file hilde)
    2010-05-08 08:19:10下载
    积分:1
  • P2P_Server
    P2P服务器端程序,是学习P2P协议的好DOME。(P2P SERVER PROGRAM)
    2010-01-26 15:44:08下载
    积分:1
  • POJ
    说明:  北京大学ACM竞赛试题集锦,希望对你的编程能力因为它而更上一层楼,它的算法设计方面很有帮助对你(Beijing University ACM Collection questions, and I hope to your programming capability because it is being, it's helpful in the design of algorithms to you)
    2005-11-17 11:28:35下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载