登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • TeleBook--My--ADO
    ado链接数据库实例教程,基于VS2015和MFC(ADO linked database instance)
    2018-05-17 21:07:47下载
    积分:1
  • JPEG_DEMO
    c++的jpeg 源码(c++ the jpeg source)
    2008-07-15 10:35:12下载
    积分:1
  • zeus2d_v2.0.tar
    二维磁流体计算程序,可根据问题干煸,已有改变成三维的版本(Two-dimensional MHD calculation program, according to the problem dry stir, has changed into a three-dimensional version of the)
    2020-11-21 10:49:36下载
    积分:1
  • duoxianchengshizhong
    多线程写的时钟例子,界面用的贴图方法贴上去的(The clock to write multi-threaded example, the interface method with the paste up map)
    2011-12-02 17:05:18下载
    积分: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
  • stuscore
    编程实现一个学生成绩管理系统,可以完成插入、删除、修改等操作(Programming a student achievement management system that can complete the insert, delete, modify and other operations)
    2010-02-04 15:48:56下载
    积分:1
  • block-adjustment
    光束法区域网平差,解算教学楼上用照相机测得、并在计算机上处理的17个控制点的坐标和内外方位元素。(Beam method adjustment with regional network,The solution with the teaching building on camera and computer processing in the 17 control point coordinates and the internal and external position elements. )
    2012-04-15 16:11:11下载
    积分:1
  • PCYT
    这是一个云台控制的软件,我只是实现了上下左右,自动几个功能,为了测试用,不过可以调通。(This is a PTZ control software, I just realized vertical and horizontal, automatic several functions, in order to test, but can be transferred through.)
    2013-08-22 08:44:29下载
    积分:1
  • LEMDA
    LABVIEW下实现自动的EMMD分解,广泛应用于故障诊断系统 (The LABVIEW under to achieve automatic EMMD decomposition, widely used in fault diagnosis system)
    2012-09-30 11:53:01下载
    积分:1
  • BoyeCutter
    本程序为激光切割机的源代码,编程环境为VC++6.0.(This procedure for the laser cutting machine of the source code, programming environment for VC++6.0.)
    2021-04-22 23:18:48下载
    积分:1
  • 696524资源总数
  • 103971会员总数
  • 70今日下载