登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • xtrap
    最新Xtrap SDK,可调用,懂得拿去!最新Xtrap SDK,可调用,懂得拿去!(Xtrap SDK hacker!)
    2020-09-29 13:47:46下载
    积分:1
  • OScode
    操作系统实验的代码以及说明包括各种经典的问题(Operating system code, as well as experiments that include a variety of classic problem)
    2009-06-21 10:33:54下载
    积分:1
  • cs
    说明:  MFC界面,服务器端可通过TCP socket的链接使client和sever端建立链接,然后可以对客户端的相关文件实现监听功能。并显示在服务器相应位置。(client sever )
    2014-05-01 23:03:40下载
    积分:1
  • VB_BMP
    用VB6编程,用来读取BMP图片的PIXEL资料,做为其他影像处理之用(Using VB6 programming, used to read BMP images, as other image processing purposes)
    2013-11-20 16:14:55下载
    积分:1
  • VC下COM实例
    VC下COM编程的具体实现(VC COM programming under a concrete realization)
    2004-12-09 14:27:03下载
    积分:1
  • HDraw
    完整的C++6.0工程,可在画图板上绘制基本图形,可设置线型、线宽,有调色板(a whole project of C++6.0.you can draw basic graph.you can also set color,width,and shape)
    2012-02-28 17:22:34下载
    积分:1
  • ADOAccessClistctrl
    ADO操作access全过程和CListCtrl的用法,vc编写,介绍数据库的使用(ADO operation and access the entire process CListCtrl use, vc preparation, on the use of database)
    2007-04-25 20:38:18下载
    积分:1
  • AP_For_VRPTW100
    车辆路径问题的C代码,里面有测试数据和结果分析。(Vehicle routing problem with the C code, there are test data and results analysis.)
    2009-05-17 11:40:39下载
    积分:1
  • 24to256
    BMP24位位图量化成256色BMP图,本程序彩八叉树颜色量化。(BMP24-bit quantization into a 256-color bitmap BMP map, this program color octree color quantization.)
    2021-04-01 22:59:08下载
    积分:1
  • SendMail199985242001
    用vc实现邮件传输功能,主要采用winsock实现传输过程。有利于熟悉网络编程。(achieved using vc mail functionality, mainly winsock achieve transfer process. Help familiar with network programming.)
    2005-07-27 19:47:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载