登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • Mac
    中国科学院力学研究所,李新亮,计算流体力学,第四次作业,激波管计算程序(Mechanics Institute, Li Xinliang, computational fluid dynamics, the fourth operation, shock tube calculation program)
    2020-07-03 04:00:01下载
    积分:1
  • 3D
    说明:  三维均匀介质的高阶交错网格弹性波方程数值模拟(未加PML吸收边界条件),模拟结果以切边形式显示(Numerical simulation of three-dimensional homogeneous medium of high-order staggered elastic wave equation (not PML absorbing boundary conditions), the simulation results are displayed in the form of trimming)
    2013-11-25 18:17:06下载
    积分:1
  • DNS-software
    可以查询网络DNS的一个小程序,以运行,无错误,可直接使用(Can the DNS query network a small program to run, no mistake, can use directly)
    2012-02-21 19:58:26下载
    积分:1
  • ad hoc网络mac层协议修改和仿真源
    说明:  ad hoc MAC协议,修改及仿真后的代码,源程序,实现AD HOC网络通信(AD hoc MAC protocol, modified and simulated code, source program, AD hoc network communication)
    2020-04-09 10:42:34下载
    积分:1
  • superlu_3.0.tar
    说明:  LU矩阵分解单机版最新版本,用于快速求解稀疏矩阵组成的方程组的解(LU decomposition matrix version of the latest stand-alone version for fast sparse matrix solution of the solution of the equations)
    2006-05-16 09:06:27下载
    积分:1
  • jiugongwenti
    (九宫问题)在一个3×3的九宫中有1-8这8个数及一个空格随机的摆放在其中的格子里,如图1-1所示。现在要求实现这个问题:将该九宫格调整为如图1-1右图所示的形式。调整的规则是:每次只能将与空格(上、下、或左、右)相邻的一个数字平移到空格中。试编程实现这一问题的求解。((Nine-palace issues) in a 3 × 3 of the Nine-palace are 1-8 this 8 random number and the placing of a space in which the cell house, as shown in Figure 1-1. Now required to achieve this issue: the squares adjustment for the right as shown in Figure 1-1 form. Adjustment of the rules: each can only be with the spaces (upper and lower, or left, right) adjacent to a digital flat space. Test Programming to solve this problem.)
    2008-12-25 22:07:50下载
    积分:1
  • Finite difference
    建立差分格式,输入边缘数值通过有限差分法计算网格中点的值(电磁场与电磁波中内容)(A difference scheme is set up, and the input edge value is calculated by the finite difference method (the content of electromagnetic field and electromagnetic wave) in the mesh.)
    2017-12-29 20:50:07下载
    积分:1
  • ioctl_fuzzer-1.2
    I/O fuzzer of windows Gud One
    2011-05-27 03:45:43下载
    积分:1
  • siftpp-0.6.2linux
    linux操作系统下的sift算法,在linux环境下运行良好(linux operating system under the sift algorithm, in the linux environment running well)
    2007-11-24 13:59:38下载
    积分:1
  • longzoro-8.0-code-for-win
    Longzoro code for win 8.0
    2020-08-25 23:58:15下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载