登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • StGEMultiCameraSample
    日本ricoh相机demo,包含include文件件和lib文件夹。( Japan ricoh camera demo, containing pieces include files and lib folders.)
    2013-12-03 17:39:07下载
    积分:1
  • 23424RingggSDK-
    推荐一个界面库:RingSDK 相当漂亮的vc++ GUI库(Suggest an interface library: RingSDK pretty vc++ GUI library)
    2013-01-17 13:52:22下载
    积分:1
  • Malloc_Implementaion
    详细解析MALLOC/free;New/delete内部实现机制,以及实现。(Detailed analysis MALLOC/free New/delete internal implementation mechanisms, and implementation.)
    2013-11-17 18:55:32下载
    积分:1
  • ltbcyt
    说明:  There are many tools for Ftp clients on TinyFtpServer, but few server programs
    2019-04-22 23:56:27下载
    积分:1
  • rqplaletent
    新编Windows API参考大全,New Windows API Reference(New Windows API reference, New Windows API Reference)
    2018-12-01 05:37:08下载
    积分:1
  • Serial-ports
    linux下的串口通讯代码,方便修改以实现多种串口通讯功能(under linux serial communication code to facilitate modified to achieve a variety of serial communication functions)
    2013-11-17 14:39:41下载
    积分:1
  • lesson8
    全国著名的VC++教师孙鑫,讲课时使用的资料,配合视频更好(The country' s leading VC++ teachers, Xin Sun, lectures were used, with the video better)
    2009-11-10 20:17:32下载
    积分:1
  • VC++ 20个窗体实例源码
    VC++界面编程20例,都是界面编程常用的例子,很适合初学者参考。(Vc + + interface programming)
    2017-07-01 17:41:05下载
    积分:1
  • js
    说明:  利用VB6.0计算指定日期在一年当中的排序,以1月1日为第一天。(Sort calculated using VB6.0 specified date in the year to January 1 as the first day.)
    2015-09-11 18:44:27下载
    积分:1
  • A-global-reconstruction-model
    已有的基于分块压缩感知的图像重构模型采用相同的测量矩阵以块 ×块的方式获取数据,解决了传统CS方法中测量矩阵所需存储量较大的问题,但由于采用分块重构,没有考虑 到图像的全局稀疏度,出现了大量的块效应。(Current image reconstruction models using block compressed sensing)
    2012-12-08 12:33:53下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载