登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • scroll-mesal
    是一个scrollveiw 的很好例子,里面还有Coblist 例子。(Is a good example of a scrollveiw)
    2015-01-27 16:21:27下载
    积分:1
  • 56965425632165
    qt流程基本功能,可实现流程管理等,目前已经完成(qt process basic functions, process management can be achieved, has been completed)
    2014-02-24 14:47:28下载
    积分:1
  • MyUpdate
    外挂自动功能模块,可单独使用,不少人没有自动更新外挂功能,里面注释很清楚,有需要的请下载。(In automatic function module, can be used alone, many people do not automatically update the external functions, which notes are very clear, there is a need to download. )
    2014-09-19 11:48:37下载
    积分:1
  • I2cAnalyzerDll
    如果正在学习USB相关的可以参考,上位机提供了动态库及源码,如果写应用界面可直接调用动态库即可,无须对底层做过多了解,但这些也只属于一个初始框架,希望哪位有VC++经验而且有兴趣的,可以细化并提供出一个更好的供广大爱好者使用 (If you are USB-related learning can refer to the host computer provides a dynamic library and source code, if written application interface DLL can be called directly, no need to do too much understanding of the underlying, but these are only part of an initial framework to which There VC++ experience and are interested, you can refine and provide a better use for the majority of fans)
    2013-07-10 11:03:43下载
    积分:1
  • Rent
    这个一个VC连接MSSQL数据库的小软件,软件中具有对数据库中得表查询、添加、删除等功能,为你提供参考。(A VC connecting the small MSSQL database software with a table of the database query, add, delete, and other functions, provide a reference for you.)
    2009-05-01 18:43:27下载
    积分:1
  • RegMon_Source_Code
    鼎鼎大名的Regmon的源码,使用驱动模式检测注册表变化!值得学习!(the Regmon the BBC source, the use of model-driven detection of the registry change! Worth learning!)
    2007-06-25 20:58:03下载
    积分:1
  • TestWincap
    利用wincap直接与网卡通讯发送数据,千兆网卡效率达到100 ,全速!!!完全自定义数据包协议传输,数据每秒钟100M字节有木有!(wincap high speed data 100 MBytes/s=1000Mbits/s)
    2015-11-12 14:08:31下载
    积分:1
  • 565566
    扩展收缩对话框应用程序界面,VC++编程精选学习源码,很好的参考资料。(Expansion contraction dialog application program interface, VC++ programming featured learning source code, a good reference.)
    2013-11-19 18:57:47下载
    积分:1
  • date
    一个对日期编写的函数。 在VC6.0下实现。(Date of preparation of a function. Achieved in VC6.0.)
    2009-01-03 22:55:49下载
    积分:1
  • C2A4E2_StorageMap5D.h
    Storage Map 5D using macros
    2016-05-12 07:35:37下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载