登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • QQ_robot_sc
    VC++6.0编写的QQ机器人程序(prepared by the procedures QQ robot)
    2006-09-16 06:19:38下载
    积分:1
  • camera
    用于相机标定,求出坐标关系,实现物理坐标和像素坐标的转换( U7528 u4E8E u76F8 u673A u6807 u5B9A uFF0C u6C42 u51FA u5750 u6807 u5173 u7CFB)
    2017-05-08 10:38:56下载
    积分:1
  • PortControl
    PortControl shematic pcb
    2014-07-14 21:54:13下载
    积分:1
  • rpg
    说明:  一个rpg游戏源码,用vc++制作(A source rpg game with vc++ Production)
    2008-12-04 20:52:10下载
    积分:1
  • snecificationencapsulationallocate
    Windows API函数在Visual Basic中的应用实例(Application of Windows API function in Visual Basic)
    2018-12-04 00:43:05下载
    积分:1
  • aspowx
    说明:  OWC是Office Web Compent的缩写,即Microsoft的Office Web组件,它为在Web中绘制图形提供了灵活的同时也是最基本的机制。在一个Intranet环境中,如果可以假设客户机上存在特定的浏览器和一些功能强大的软件(如IE6和Office 2000/XP/2003),那么就有能力利用Office Web组件提供一个交互式图形开发环境。这种模式下,客户端工作站将在整个任务中分担很大的比重。理论上说Excel能做的图都可以通过OWC画。(OWC is an acronym for Office Web Compent that Microsoft' s Office Web components, in the Web in its graphics rendering, while providing a flexible mechanism is the most basic. In an Intranet environment, if the client can assume the existence of a particular browser, and some powerful software (such as IE6 and Office 2000/XP/2003), then it would be able to take advantage of Office Web components to provide an interactive graphical development environment . This mode, client workstations will be shared throughout the task in a large part. Excel can do in theory plans are available through OWC painting.)
    2009-08-23 17:16:17下载
    积分:1
  • udc
    图片打印控件的例子,可以利用打印机实现图片的打印(Examples of picture print controls, you can realize the use of the printer to print pictures)
    2008-04-06 11:14:20下载
    积分:1
  • sendingsms
    SEND sms project using api, web services, atc.
    2020-06-21 16:20:01下载
    积分:1
  • KeyMouse
    通用键盘鼠标模拟(包括USB和PS2) 通过直接调用Kbdclass的回调函数KeyboardClassServiceCallback直接给上层发送键盘驱动。这个方法网上已经公开,参考 Hook KeyboardClassServiceCallback实现键盘 Logger,其他的还有很多,可以到网上去查。 简单说一下没有公开的部分,就是按下和松开的模拟,已经扩展键的模拟。 模拟主要是构造KEYBOARD_INPUT_DATA结构,按下和松开的Flags分别对应KEY_MAKE、KEY_BREAK,然后调用KeyboardClassServiceCallback。(Universal keyboard and mouse simulation (including USB and PS2))
    2010-07-23 11:19:14下载
    积分:1
  • Wave
    读取Wav格式音频文件信息,调节Wav格式音频文件音量大小,并显示波形(Read Wav format audio file information, adjust the volume Wav format audio files and waveform display)
    2013-08-08 20:46:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载