登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • c03
    该程序实现水声信道的模拟方法及性能分析,提出了一种信的水声信道模型(The program implements underwater acoustic channel simulation methods and performance analysis, presents a letter of underwater acoustic channel model)
    2020-07-04 05:40:02下载
    积分:1
  • screenshot-avi
    可以将屏幕上所指定的任何区域保存录像下来,保存可以为avi(On the screen can be specified in any region save the video down, save for the avi)
    2009-03-07 19:38:11下载
    积分:1
  • Savitzky-GolayPFilter
    Savitzky-Golay 滤波算法的资源汇总,原理阐述(Savitzky-Golay filtering algorithm resource summary, the principle expounded)
    2013-01-20 10:40:39下载
    积分:1
  • autoupdate
    vc++简单的软件自动升级程序源代码,提供软件在线自动升级功能,除了自动升级功能外,本程序还用到了一些常用的窗体修饰类,这些类可以方便应用到你的软件项目中,比如阴影效果按钮类、渐变进度条类、按钮自绘类等,为我们美化窗体提供方便。 (vc++ simple software automatically upgrade program source code, to provide software online automatic update feature, in addition to auto-update feature, this procedure also uses a number of commonly used form modification classes, these classes can be easily applied to your software projects, such as shadow effect of the button class, gradual progress bar class, buttons, since the painting class and so on, for us to beautify the form with ease.)
    2010-03-04 14:34:23下载
    积分:1
  • Spread-CN-Demo
    winform开发第三方控件FarPoint中文Demo(winform development of third-party controls FarPoint Chinese Demo)
    2012-12-07 09:56:30下载
    积分:1
  • NotifyIcon
    非常实用的一个功能,MFC实现系统动态托盘图标(A very useful feature, MFC achieve dynamic tray icon)
    2013-11-25 17:03:33下载
    积分:1
  • WaveDriverTest
    Avaya Wave Driver Test
    2011-11-15 15:36:41下载
    积分:1
  • aawmutual
    说明:  此为windows风格的单文档窗体,比较通用欢迎在此基础上,加一改进,创造出更好的界面来(This is a single document form with windows style, which is generally welcome to add an improvement to create a better interface.)
    2018-12-24 03:36:53下载
    积分:1
  • Wumpus
    人工智能中的有关Wumpus世界的源程序 功能非常强大(artificial intelligence of the Wumpus source in the world is very powerful)
    2020-11-03 21:09:52下载
    积分:1
  • 3DSdonghuawenjianyueduqi
    VisualC++实现3DS动画文件阅读器源代码(VisualC achieve 3DS document readers source code)
    2006-12-22 22:55:38下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载