登录
首页 » Visual C++ » lock_hungry

lock_hungry

于 2021-01-17 发布 文件大小:1KB
0 225
下载积分: 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 个回复

  • ADO
    在MFC种利用ADO进行数据库的处理,也可以用ODBC来做。(Use ADO in MFC to test the SQL.)
    2009-03-05 13:55:44下载
    积分:1
  • chat实例
    基于VC++的局域网聊天室,能够实现多人房间聊天。(LAN chat room based on VC++ can realize multi-room chat.)
    2019-02-15 10:30:43下载
    积分:1
  • 89c2051模拟spi驱动nrf905
    说明:  单片机89c2051通过模拟spi口驱动nrf905,与nrf905进行联系,本程序详细描述(MCU 89C2051 drives nRF905 through analog SPI port and contacts nrf905. This program is described in detail)
    2019-05-10 23:07:40下载
    积分:1
  • GroupPlocyConfig
    windows系统组策略操作封装.............(windows grouppolicy operator......................)
    2013-11-13 21:57:02下载
    积分:1
  • a
    说明:  得到函数地址的程序,菜鸟级产品不要笑我 刚学驱动(Adress Of function)
    2009-06-24 10:28:07下载
    积分:1
  • killapp
    查找指定进程,并且可以强制结束该进程。中间有源码。(Find the specified process, and can force the end of the process. The middle of the source code.)
    2011-05-11 10:19:18下载
    积分:1
  • source
    battlecity游戏源码.VC编写.(Source battlecity game. VC preparation.)
    2009-04-19 19:59:13下载
    积分:1
  • BaseMenuDemo
    基本下拉菜单的创建与消息响应,VC++精选编程学习源码,很好的参考资料。(The basic menu creation and message response, VC++ select learning programming source code, a good reference.)
    2013-12-02 11:29:46下载
    积分:1
  • BEIDOUWeixing
    北斗卫星接口文件 北斗卫星导航系统 空间信号接口控制文件 (测试版) (Beidou satellite interface file Beidou satellite navigation system space signal Interface Control Document (Beta))
    2012-11-04 12:16:07下载
    积分:1
  • ContAccelSamp_IntClk_AnlgStart
    说明:  通過NI-6008去抓取數值,可以通過module讀取,此代碼可以看出如何做通信 (his example demonstrates how to make continuous, hardware-timed acceleration measurements using an SCXI-153x module.)
    2009-07-31 15:53:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载