登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • intnet
    visual c++ 很好的程序例子,适合网络编程初学者编程学习(visual c++ examples of good programs, programming for beginners to learn network programming)
    2011-04-30 16:20:55下载
    积分:1
  • SkinShow
    换肤程序小例程,里面实现了程序换皮肤的基本方法,注意,如果程序找不到图片的话,请把pic文件夹放入Debug文件夹。(Skin small routine procedure, which the realization of the procedures for the skin s basic method, note that if not able to locate the picture, please put pic folder Add Debug folder.)
    2008-12-22 21:39:16下载
    积分:1
  • SerialComm
    基于vs2012的串口调试助手调试软件,简单清晰适合于初学者。(Based vs2012 serial debugging aides debugging software, is clear and simple for beginners.)
    2020-09-27 18:27:45下载
    积分:1
  • pvb-gambardbxxxx
    save picture webcam to computer
    2014-02-05 11:23:41下载
    积分:1
  • 矩阵运算
    说明:  用于计算矩阵。但是还是有局限性,最重要的是能够计算卷积。(To compute on Matrix)
    2019-12-25 19:53:07下载
    积分:1
  • Hide
    驱动 隐藏文件夹 设置允许打开的进程 删除与复制设定(zssdihu@sohu.com hide directory)
    2010-09-18 14:27:45下载
    积分:1
  • apodizedll
    Java 本地调用C++ 进行光纤切趾光栅仿真,用于网络仿真(Java calling C++, the local fiber grating apodization simulation, for Network Simulation)
    2009-12-10 18:27:16下载
    积分:1
  • sci_echoback
    dsp2812 sci的例子,希望能有帮助(dsp2812 sci example, hoping to help)
    2012-10-20 14:00:27下载
    积分:1
  • 1
    说明:  朱红版C++程序设计教程课后答案和习题详解附相关程序(C++ answers and after-school programming tutorial exercises)
    2013-10-14 10:34:24下载
    积分:1
  • DNF
    强制交易工具,请不要用于非法用途,否则后果自负。(Mandatory trading tools, please do not used for illegal purposes, or peril.)
    2011-07-21 19:36:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载