登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • memcached-1.4.10-for-Window
    memcached-1.4.10 for Window
    2012-09-13 14:59:17下载
    积分:1
  • opnet
    OPNET上实现的原码,与卫星通信有关,有兴趣的可以下载(OPNET to achieve the original code, relating to satellite communications, are interested in can be downloaded)
    2021-03-09 16:09:27下载
    积分:1
  • OPC-Client
    OPC 客户端程序 VB编写与西门子机床通信(OPC client program)
    2014-07-20 23:14:51下载
    积分:1
  • at86rf230
    AT86RF230 RF231 driver for Linux v2.13.6.
    2016-02-03 21:51:50下载
    积分:1
  • VCdibimage
    说明:  关于VC++6.0中的位图操作的基本方法,能够进行放大、缩小等基本操作(VC++6.0 on the bitmap in the basic method of operation can be zoom in, zoom and other basic operations)
    2011-03-07 12:26:21下载
    积分:1
  • KSCZ
    这是一个开发完成并投入使用的VB通过OPC连接西门子200PLC的程序,OPC中介是KepWare。(This is a program for VB contact with Siemens PLC use OPC.)
    2015-07-18 14:03:59下载
    积分:1
  • yangjiyuank
    养鸡远控源码 仅下载功能 修复了 大量 BUG 基于ghost 3.6 内核 修改的噢 稳定性 我就不说了吧 (Chicken remote control source download function only fixes a lot of bugs based the ghost 3.6 kernel modifications Oh stability I will not say it)
    2013-01-18 17:51:51下载
    积分:1
  • Learn-to-use-a-variety-of-bit-
    学习使用各种按位与&,或丨,取反~,异或^等的代码(Learn to use a variety of bit-)
    2014-04-29 17:50:15下载
    积分:1
  • chap1
    Visual Basic 学习的例子 Visual Basic 学习的例子(Examples of learning Visual Basic)
    2014-01-04 16:21:20下载
    积分:1
  • 3333
    基于2D轮廓的三维模型相似性比较研究 在游戏开发和机械建模 常用的方法
    2009-04-11 00:21:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载