登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • addressbook-management
    IT CONTAIN TABLE WITH FOLLOWING FIEDLS create table addbook(contactid integer primary key autoincrement,contactname text,companyname text,address text,city text, state text,postalcode text,country text,phone text,email text,photo blob
    2011-10-01 20:53:54下载
    积分:1
  • road-traffic-lights--design
    基于TMS320F28335道路交通灯控制系统设计,此为课程设计大作业内容,对在校大学生有很大帮助。(Based on the TMS320F28335 road traffic lights control system design, this is the curriculum design of the contents of the university students have a great help.)
    2020-12-11 18:49:17下载
    积分:1
  • 200591032228730
    说明:  Delaunay三角剖分 实现平面离散点的三角形网各化, 朋友们多多交流啊(Delaunay triangulation planar discrete points of the triangle, friends interact more ah)
    2006-03-23 17:35:16下载
    积分:1
  • ruyking__specializations
    停止等待试验的源代码,用VB实现,里面有一个现成的实现工程(Stop waiting for the test source code, using VB to achieve, there is a ready-made the implementation of the project)
    2017-06-16 21:41:43下载
    积分:1
  • ld
    说明:  数据通信的课程设计,用于实现AMI码等等在数据通信中实用的编码。(Data communication curriculum design, code, etc. used to implement AMI useful in data communications code.)
    2011-04-30 20:12:38下载
    积分:1
  • combolocx
    combobox更新的一个控件(update a combobox controls )
    2004-11-19 14:22:41下载
    积分:1
  • vc6.0(odbc)mfc
    说明:  是 VC++6.0技术大全里面的一个用MFC odbc开发数据库的 实例(Is VC++ 6.0 technology Guinness inside a MFC odbc with the development of the database instance)
    2008-11-17 16:24:40下载
    积分:1
  • Excel-vc2
    VC++ 与 EXCEL生成系统报表-2(VC and EXCEL Generation System statements-2)
    2007-04-17 11:43:20下载
    积分:1
  • VC-plug-in
    VC++外挂呼出示例子。包含源文件和生成程序。(VC++ plug-in call to show an example. Contains the source files and build procedures.)
    2020-07-01 05:20:01下载
    积分:1
  • DMS1
    dynamically create access databases tables, fills and update the database using vb
    2012-04-16 22:40:30下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载