登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • rds-win32-4.0.522
    raima velocis 4.0.5
    2008-07-01 06:10:31下载
    积分:1
  • 896548679
    基于VB.NET写的的2D汽车游戏引擎源码,很好的资料。(Based on a 2D car VB.NET written game engine source code, very good information.)
    2013-08-05 12:57:22下载
    积分:1
  • cPPReference
    C++学习资料,chm格式的文件,希望对大家有帮助(C++ Study File For C++ Premier)
    2013-07-25 15:44:37下载
    积分:1
  • cg-fft
    This software gave volume MoM solution by the CG-FFT method(volume solution by using MoM t he CG-FFT method)
    2007-03-31 10:21:57下载
    积分:1
  • traffic
    [基本要求] (1)提供对城市信息进行编辑(如:添加功删除)的功能 (2)城市之间有两面种交通工具:火车和飞机。提供对列车时间表和飞机航班进行编辑(增设或删除)的功能。 (3)提供两面种最优决策:最快到达或最省钱到达。全程只考虑一种交通工具。 (4)旅途中耗费的总时间应该包括中转站的等候时间。 (5)咨询以用户和计算机的对话方式进行。由用户输入起始站、终点站、最优决策原则和交通工具,输出信息:最快需要多长时间才能到达或者最少需要多少旅费才能到达,并详细说明依次于何时坐哪一趟列车哪一次班机到何地。 [实现提示] (1)对全国城市交通图和列车时刻表及飞机航班表的编辑,应该提供文件形式输入和键盘输入两种方式。飞机航班表的信息包括:起始站台票出发时间、终点站的到达时间和票价;列车时刻表则根据交通图给出各个路段的详细信息。 (2)以邻接表作交通图的存储结构,表示边的结点内除了含有邻接点的信息外,还应包括交通工具、路程中消耗的时间和花费以及出发和到达的时间等多项属性。 ()
    2008-07-07 00:17:13下载
    积分:1
  • 51controleMOTOR-KEY
    基于51单片机的步进电机的控制设计 一圈360度,需要20个脉 冲完成. 3,步进电机具有瞬间启动和急速停止的优越特性. 4,改变脉冲的顺序,可以方便的改变转动的方向(51 step motor control designs around 360 degrees, requires 20 pulses to complete. 3, stepper motor with instant start and stop the rapid superior characteristics based on 4, change the order of the pulse, you can easily change the direction of rotation)
    2013-12-07 16:48:35下载
    积分:1
  • beginningVCPP
    初学者入门适合看的代码,很简单,就是一个界面编辑(beginning learning vc code)
    2012-02-21 14:55:12下载
    积分:1
  • ColorProcess121
    可以过滤颜色进行图形变化的 ,。(can filter changes color graphics,.)
    2007-05-16 17:17:59下载
    积分:1
  • optimization-of-sctp
    在windows平台的的流控制协议的优化程序简介以及论文。(In the windows platform flow control protocol optimizer profile and papers.)
    2011-07-07 16:43:02下载
    积分:1
  • web
    测试程序,可以很好的利用这个程序解决你所遇到的问题(Test procedure can be a very good use of this procedure to solve the problems encountered by you)
    2008-07-24 11:26:37下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载