登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • SQL_SERVER2008_EXPRESS
    MFC对话框ADO连接SQL_SERVER2008(MFC dialog ADO connection SQL_SERVER2008)
    2014-01-01 21:13:34下载
    积分:1
  • Win32Timer
    基于Visual C++ 的win32控制台的程序,实现使用定时器的功能,(Visual C++ win32 console-based program, using the timer function,)
    2012-03-06 14:20:34下载
    积分:1
  • VCPP-MFC-Print
    VC++ 用MFC编写的打印程序,希望对大家有用(VC++ MFC Print)
    2012-05-10 19:48:58下载
    积分:1
  • CODE_UPLOAD15638312001
    About carlos [Add as Friend] [Send Message] [Home] [Chinese Version]
    2015-06-10 03:01:14下载
    积分:1
  • ARMVI_FTPServer
    wince 下ftp 服务,是wince下ftp服务器端得工具。挺好的东西!(wince under the ftp service is wince under the ftp server-side too tool. Quite good stuff!)
    2009-09-27 11:30:32下载
    积分:1
  • Finding-fault-plug-in-a-beautiful
    美女找茬外挂1,可以实现半自动的开挂。效果还不错。(Finding fault plug-in a beautiful, semi-open can hang. Results were pretty good.)
    2011-11-15 16:03:31下载
    积分:1
  • dianzicidian
    一个简单的电子词典,能实现中英互译,不带数据库(a simple dictionary without data library)
    2013-11-23 14:32:48下载
    积分:1
  • doceditor
    说明:  记事本源码,类似写字板的VB6文档编辑器实例程序(Notepad source code, sample program similar to WordPad VB6 document editor)
    2020-06-22 19:54:25下载
    积分:1
  • DataCollectSystem-ForVS008
    VS2008下数据采集系统源码,主要实现实时采集下位机的数据,并实现曲线绘制和历史数据查询的功能(VS2008 under data acquisition system source code, mainly to achieve real-time acquisition the lower machine data, and curve drawing and historical data query functions)
    2012-10-16 09:51:09下载
    积分:1
  • 001
    L298驱动模块实现马达的正转,反转,和停止功能(L298 motor driver module for forward, reverse and stop functions)
    2014-12-12 09:35:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载