登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • Multithreading-continuingly
    多线程断点续传类,以及界面。 项目中: _Nv_Http_Download.h _Nv_Http_Download.cpp 就是多线程断点续传类。(Multithreaded HTTP class, as well as the interface. Project: _Nv_Http_Download.h _Nv_Http_Download.cpp is multi-threaded HTTP class.)
    2013-01-23 19:27:24下载
    积分:1
  • CCSv5.3License
    TI  CCSv5.3可用的License,亲测可以使用,CCSv5.3是一个很强大的编程软件(TICCSv5.3 the available License, pro-test can be used, CCSv5.3 is a very powerful programming software)
    2013-03-11 19:30:03下载
    积分:1
  • MFC
    计算机网络 多播 用C++编写 绝对可以用。。。。(计算机网络多播)
    2010-12-12 13:07:25下载
    积分:1
  • printjlvb
    VB编写实现的简历打印程序,一眼看上去还挺不错嘛。将程序简历设计成表格的样式,这也是大家习惯用的格式,有放照片的地方,还有个人信息的填写,另外还可打印,简历信息可保存至Access数据库,稍加修改就可制作成一款简历管理软件。选中每一个简历,就可方便的打印出来(VB prepared to achieve resume printing process, one looks pretty bad. The program is designed to form a style resume, which is the format we used to use, there is a place to put photos, and fill in personal information, while also printing, resume information can be saved to an Access database, a little change can be made into a shall resume management software. Each resume is selected, you can easily print out)
    2014-05-14 14:58:25下载
    积分:1
  • 成绩管理系统
    说明:  成绩管理系统,用于管理培训机构,学校等成员成绩。(Achievement management system, used to manage the performance of training institutions, schools and other members.)
    2020-06-22 14:20:02下载
    积分:1
  • 4017
    ADAM4017基于VB6.0通讯应用.(ADAM4017 Communication)
    2015-06-02 16:13:52下载
    积分:1
  • WinIoenhanced
    针对原来的winio不能访问高端内存的问题,进行了修改,可以2G以上的内存(For the original winio not have access to high-end memory problems been modified, you can more than 2G of memory)
    2009-12-09 16:19:47下载
    积分:1
  • FOCS
    《光通信系统》的电子文档,对于学习光纤通信的人有很大的帮助。(The optical communication system, "the electronic document, for learning optical fiber has a lot of help.)
    2011-09-20 16:41:51下载
    积分:1
  • 6645678
    在文档 视图程序中加入闪屏,VC++编程精选学习源码,很好的参考资料。(Join the splash screen in the document view program, VC++ programming featured learning source code, a good reference.)
    2013-11-19 18:55:34下载
    积分:1
  • computer
    这是一款非常实用的计算器,我认为其实用程度远远胜过Windows系统提供的计算器.主要特色是支持多项式运算,即可以一次输入整个多项式,并能够识别运算的优先级(利用堆栈实现),希望大家能够多提宝贵意见.(This is a very useful calculator, I think in fact much better than using Windows system calculator. The main feature is support for polynomial computing, that is, can enter an entire polynomial, and to identify the priority operator class (using the stack realize), hope that we can with more valuable advice.)
    2021-02-19 10:09:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载