登录
首页 » Windows开发 » 银行家算法

银行家算法

于 2022-04-30 发布 文件大小:5.08 MB
0 147
下载积分: 2 下载次数: 1

代码说明:

设Request是进程Pi 请求向量,如果Requesti [j]=k,表示进程Pi 需要k个RJ 类型的资源。当Pi  资源请求后,系统按下述步骤进行检查: (1) 如果Requesti [j]≤Need[I,j]便转向步骤2;否则认为出错,因为它所需要的资源数已超过它所宣布的最大值。 (2) 如果便转向步骤(3);否则,表示尚无足够资源,Pi 须等待。Requesti [j]≤Available[j] (3) 系统试探着把资源分配给进程Pi ,并修改下面数据结构中的数值: 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 语音:电话产品防伪伺服系统(tw8).
    语音:电话产品防伪伺服系统(tw8).-voice : Telephone security products Servo System (tw8).
    2022-05-16 11:35:16下载
    积分:1
  • template Excel VBA instances of the 10,# 39 & S!!!!!!!!!!!!!!!!
    Excel的10个实例模板,有关VBA的-Excel template of the 10 instances, the VBA" s! ! ! !
    2022-04-24 23:20:28下载
    积分:1
  • based hardware encryption procedures, the development of multilingual example.
    基于硬件的加密程序,提供多种语言开发示例。-based hardware encryption procedures, the development of multilingual example.
    2022-07-07 06:16:33下载
    积分:1
  • View, to write text effect. Effect is the middle of the structure based on singl...
    视图中写入文字效果。效果正中间,基于单文档视图结构。适用于初学者-View, to write text effect. Effect is the middle of the structure based on single document view. Apply to beginners
    2023-02-17 00:15:04下载
    积分:1
  • 花样多
    Synchronized multi-threading in C++ (No MFC!)
    2022-03-26 00:31:41下载
    积分:1
  • 这是一个存储管理分区分配算法的源码,操作系统的
    这是一个存储管理分区分配算法的源码,操作系统的-this is a source code of save the charge sectors,for operating system
    2022-11-29 02:45:03下载
    积分:1
  • simulated bank customer waiting time
    模拟银行顾客等候时间-simulated bank customer waiting time
    2023-07-10 13:35:03下载
    积分:1
  • that a company has a customer reception center, the unit time to a random custom...
    说某公司有一个顾客接待站,在单位时间内随机地有顾客到接待站询问,设每位顾客 的接待时间是某个范围内的随机值,设接待站只有一名接待人员,要求程序模拟统计 //在设定时间内,接待员的总空闲时间和顾客的平均等待时间。假定模拟数据已按顾客 //到达接待站的先后顺序依次存于某个正文数据文件中。对应每位顾客有两个数据,到达 ///时间和需要接待的时间。 //在计算机模拟程序中,程序按模拟环境中的事件出现顺序逐一处理事件。当一个事件 //结束时,下一个事件隔一段时间才发生,则程序中的模拟时钟立即推进到下一个事件 的发生时间,如一个事件还未处理结束之前,另有其他事件等待处理,则这些事件就 应依次排队等候处理。-that a company has a customer reception center, the unit time to a random customers to ask reception centers set up for each customer reception time is within the scope of a random value, is only a reception center set up to receive, process simulation requirements statistics// within a set time, the receptionist at the total idle between customers and the average waiting time. Simulated data has been assumed by the customer// Reception Center arrived in the order followed by the text stored in a data file. Corresponding two per customer data, arriving///time and the time required to receive.// In the computer simulation program, the process by simulation environment incidents each sequence
    2022-01-30 22:04:42下载
    积分:1
  • 可以上网了!! 这个程序可以按照你设置的多少分钟进行测试可不可以上网!
    可以上网了!! 这个程序可以按照你设置的多少分钟进行测试可不可以上网!-can be connected! ! In accordance with the procedures set you how many minutes of the tests conducted online Can!
    2023-04-05 21:45:03下载
    积分:1
  • 矩形域拟合平面
    在 VC6.0 编译器的最小二乘拟合程序一个简单的面下, 压缩的包是一个源所载 cpp 和.h 和.inl。
    2022-07-25 11:55:24下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载