登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • desquirr
    decompiler, ida的插件代码,可以反编译asm(Decompiler, Ida plug-in code, the compiler can be anti-asm)
    2006-06-26 14:22:06下载
    积分:1
  • CPP-Primer(version-4)-answer
    C++ primer 第四版课后答案,详细的给出了教材课后习题的答案(the book give the answer of C++ primer (version 4))
    2011-10-07 22:08:19下载
    积分:1
  • Important-QuadTreeLOD
    基于DEM的三维地形绘制,通过四叉树实现LOD细节层次结构(DEM-based three-dimensional terrain rendering by Quadtree LOD hierarchy details)
    2015-03-29 17:38:56下载
    积分:1
  • 76855736346
    VB检测Windows系统内核的代码,有需要的就下载吧。(VB detection Windows kernel code, there is need to download it.)
    2013-08-30 11:30:27下载
    积分:1
  • driverdev6asp_src
    一个windows显示驱动的好程序,对学习驱动开发很有好处(a windows driver of the program is to study the development of a very good driver)
    2021-01-04 10:18:55下载
    积分:1
  • howto_make_8bit_dib
    Make an 8-bit device independent bitmap (DIB) scratch
    2016-07-30 17:46:51下载
    积分:1
  • 6240720
    scport for monting your pc s port usage!(Scport for monting your PC s port usage!)
    2017-06-02 05:03:16下载
    积分:1
  • Mouse
    该程序能够改变鼠标形状,是一个非常好的例子.(The program can change the mouse shape is a very good example.)
    2009-12-02 18:49:35下载
    积分:1
  • LanChat
    局域网聊天工具,网络编程课程作业,需要的下载(LAN chat tools, web programming course work, you need to download)
    2010-12-10 03:26:35下载
    积分:1
  • a-d转换
    80C51单片机程序adc转换啊啊啊啊啊啊啊啊啊啊啊啊啊啊(ADC Conversion of 80C51 Single Chip Microcomputer Program)
    2019-02-15 18:25:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载