登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • project
    说明:  课程设计的主要内容为开发一个实时绘制大规模三维场景的程序系统.必做部分: 1、学习3DS Max 的基本功能,并采用3DS Max 对三维场景进行建模,要求 场景中包含建筑物、道路、天空等基本元素,实现场景的纹理贴图功能。 2、通过3DS Loader 读取场景数据。。 3、学习并使用OpenGL 或DirectX 3D 实时绘制上述场景。 4、提供用户界面,并实现场景的交互漫游功能。 选做部分: 1、在场景中添加了三维地形。 2、实现雾这种气象条件的实时绘制。 3、实现计算机动画技术,飞机在天空中飞,圆环在不停的运转。 4、阴影的绘制 5、在场景中添加了喷泉。 6、实现Billboard 绘制技术。 7、添加了美妙的背景音乐。 (The main content of curriculum design for the development of a real-time rendering system of procedures for large-scale three-dimensional scene (running Interface, refer to Figure 1), including part and the election will be made part (where part of the requirements to achieve Optional 2 to 3 Or more than function). Will be part of: 1, learning the basic functions of 3DS Max, and three-dimensional scene using 3DS Max for modeling, requirements Scene includes buildings, roads, skies and other basic elements, to achieve the texture mapping function of the scene. 2, read the scene data by 3DS Loader. . 3, learn and use OpenGL or DirectX 3D real-time rendering the scene. 4, provide the user interface and interaction to achieve the scene roaming. Optional parts: 1, in the three-dimensional terrain scenes added. 2, the fog that weather conditions to achieve real-time rendering. 3, the realization of computer animation technology, aircraft flying in the sky, circle in)
    2011-04-16 21:32:57下载
    积分:1
  • GetXSL
    一个基于MFC操作excel表格的应用程序。根据需求生成一张刻度与数据对应的excel表(MFC-based operation excel spreadsheet application. Excel sheet with a scale corresponding to the data generated on demand)
    2013-11-25 21:19:54下载
    积分:1
  • VB_yufa
    VB入门, 语法精讲与精炼,简单易懂,可以用来做入门快速扫盲用。(VB entry, grammar succinctly and refining, easy to understand and can be used to make data entry quick literacy use.)
    2013-11-06 15:50:45下载
    积分:1
  • HomeAutomation
    This document accompanies the Texas Instruments Z-Stack™ solution for use with SmartRF05 and CC2530EM Evaluation Boards. Z-Stack is a complete protocol stack and application development solution that conforms to ZigBee Alliance standards (www.zigbee.org).
    2014-03-12 14:35:38下载
    积分:1
  • Connect_Back_windows
    一个隐蔽的后门程序,反弹远程主机命令行.(A hidden backdoors, rebounded remote host command line.)
    2013-09-03 14:09:38下载
    积分:1
  • GetFileLinkVer
    查看exe或者dll的连接器的版本从而看出是用VC那个版本进行的开发(View exe or dll version of the connector thus be seen that the development version of the VC)
    2014-04-14 15:37:32下载
    积分:1
  • CMP4
    处理文件器,可以办各种格式文件处理相互装换,有用!超级快速!(Processing document control, you can do a variety of formats for document processing equipment with each other, useful! Super fast!)
    2011-05-09 10:20:02下载
    积分:1
  • NormSInv
    Excel里NormSInv()函数的vb版(Excel Lane NormSInv () function vb version)
    2009-02-12 10:10:06下载
    积分:1
  • ipv6
    ipv6地址转换器(ipv6 addresses converters)
    2004-07-14 15:02:10下载
    积分:1
  • ExpTab
    可动态添加关闭标签页的自定义TabControl控件.功能强大。(Can be dynamically added to close the Customize tab TabControl control. Powerful.)
    2014-08-17 05:25:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载