登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • CODE_UPLOAD1400
    With KBSET you can set keyboard s delay value and the repeat rate. Also created by Chukhlebov Alex. Found at: http://www.cprogramming.com/source.html
    2011-07-26 01:42:06下载
    积分:1
  • chap1
    Visual Basic 学习的例子 Visual Basic 学习的例子(Examples of learning Visual Basic)
    2014-01-04 16:21:20下载
    积分:1
  • 14.6.16
    源码,包括树形控件与xml之间的调用,UDP协议的数据库连接,还有mfc的listview和treeview的使用,给界面显示图标等等,使用vs2005测试通过。(Source, including calls between tree control with xml, UDP protocol database connection, as well as the use of listview and treeview mfc, giving the interface displays icons and so on, using vs2005 test.)
    2014-06-17 19:23:04下载
    积分:1
  • McGraw.Hill.Herb.Schildts
    c++ step by step trainig ebook
    2012-07-03 13:37:13下载
    积分:1
  • paint_move
    能在MFC界面绘制随着鼠标移动的线条,在visual studio中正常显示(In MFC interface as the mouse moves the lines, the visual studio to the normal display)
    2016-01-25 22:28:19下载
    积分:1
  • babianxing
    地图代数八边形变换 地图代数2013年第二次作业(Map Algebra octagon transform Map Algebra 2013 Second Assignment)
    2020-12-10 21:59:19下载
    积分:1
  • 6547687
    用两个字符形成点阵大字,VC++经典编程源码,很好的参考资料。(Lattice with two characters form characters, VC++ classical programming source code, a good reference.)
    2013-11-15 09:32:34下载
    积分:1
  • complex
    c++实现的复数类及其运算符,包括加减乘除等符号重载,包括复数与实数、复数与复数之间的各种运算。(class complex by C++)
    2015-03-03 21:50:55下载
    积分:1
  • open_pc_and_port_scan
    网络活动主机和开放端口扫描源程序,含开发文档,基于C#的rawsocket开发,支持 多线程 支持ARP,ICMP协议的活动主机扫描,支持TCP connect syn fin 三种方式的开放端口扫描,支持udp端口扫描(Networking activities, the host and open source port scan, including the development of the document, based on the C# The rawsocket development, support for multi-threaded support for ARP, ICMP scanning hosting agreement to support the TCP connect syn fin three ways of opening up port scanning, support udp port scan)
    2020-11-01 21:50:01下载
    积分:1
  • MFCODBCaccess
    VC++ 使用MFC ODBC访问数据库,请注意:在VC环境下运行程序前,必须注册ODBC数据源,数据库文件为bookinfo.mdb,数据源名称为bookinfo,直接运行可执行文件也需要将数据库文件与可执行文件放在同一路径下。(VC++ using MFC ODBC to access the database, please note: In the VC environment before running the program, you must register ODBC data source, the database file is bookinfo.mdb, data source name is bookinfo, also need to run an executable file with an executable database files files in the same path.)
    2014-02-21 16:46:07下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载