登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • 逐笔导出工具及使用说明
    本工具可将大智慧L2D文件中的逐笔成交明细导出成csv格式的文本文件,包括成交时间,成交价格,成交方向和成交数量,方便在excel或其他编程工具中调用分析。 L2D乃点播数据,必须在收费帐号大智慧中浏览了逐笔数据才会有,如果要导出全部个股数据,就要浏览完所有个股的逐笔数据。为简化操作,可用键盘精灵等工具来实现自动浏览。 在L2D文件已有的前题下,只需在本工具上简单地设置一下大智慧安装目录和导出数据存放目录即可。 本工具可按需要单股、批量导出,盘中、盘后均可需要导出。(This tool can be of great wisdom in the L2D file by the transaction details to export to CSV format text files, including transaction time, transaction price, transaction direction and the number of transactions, to facilitate analysis of call in Excel or other programming tools. L2D is on demand data, must be in charge of great wisdom in the transaction account data browsing will have, if you want to export all the stock data, to browse the data of all stock transaction. In order to simplify the operation, you can use keyboard, Sprite and other tools to realize automatic browsing. On the basis of the existing L2D file, only in the tool simply set a great wisdom installation directory and export data storage directory. This tool can be exported as required, single stock, batch, and can be exported after disk and after hour.)
    2020-06-29 16:40:01下载
    积分:1
  • READCOM2
    串口发送、接收数据,显示数据、画图功能 可以选择16进制或ascii数据发送(Serial port to send, receive data, display data, drawing function can choose 16 hexadecimal or ascii data sent)
    2008-12-19 23:25:16下载
    积分:1
  • Linked-list-version-of--system
    链表版的软件工程师管理系统,可以对工程师的信息进行增删改查(The linked list version of the software engineers, management system that can CRUD information for engineers)
    2012-05-06 21:34:37下载
    积分:1
  • c_plus_primer
    c++primer课后练习题源代码,全部经过测试,可以直接拿来使用,省去你打字的时间。(c++ primer after-school exercises the source code, all tested and can be directly used to use, save you typing time.)
    2010-12-03 13:19:51下载
    积分:1
  • 645-376.1
    支持电力规约645,376.1等相关规约的485代码,支持常用电表控制信令代码,(Support the power of the Statute 645,376.1 Statute 485 and other related code, support for common control signaling code meter,)
    2020-09-09 21:08:03下载
    积分:1
  • 28335svpwmProgram
    基于TMS320F28335 SPVWM的实现源代码,已在CCS3.3中编译通过,波形很好。(TMS320F28335 implementation of SVPWM based, university thes is, it is practical)
    2020-07-02 07:20:02下载
    积分:1
  • xuliehua
    vc基本序列化的程序源码,希望对大家有所帮助(vc basic sequence of the program source code, we want to help)
    2011-06-05 22:20:23下载
    积分:1
  • videoshow
    说明:  里面有两个程序,文件夹01是server的代码,02是client的代码,当服务器端接有摄像头时,可从客户端输入ip捕捉到图像(There are two procedures, folder 01 is the server code, 02 is the client code, when the server has terminated the camera, they can enter the ip from the client to capture images)
    2008-09-15 13:10:26下载
    积分:1
  • TCP
    基于流式套接字的TCP回射程序的客户端以及服务器(Retroreflective program based on the TCP stream socket)
    2012-12-28 15:37:39下载
    积分:1
  • HIDUSB
    Windows 系统下 1.USB设备的查找: 2.发送数据到USB设备: 3.接收数据从USB设备:(Windows system 1. USB device search: 2. Send data to USB device: 3. Receive data from USB devices:)
    2008-05-27 13:26:13下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载