登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • anli
    JAVA教程普通案例。交流学习专用。谢谢大家(。)
    2010-09-13 21:56:41下载
    积分:1
  • solar
    模拟太阳系,用的是opengl来实现的。(Simulate the solar system, using the opengl to achieve.)
    2009-10-13 22:55:30下载
    积分:1
  • Mysipphonevs2005
    我这段代码是一个名为Youtoo的sipphone工程改编而来。(www.pudn.com 上有) 原工程是在vc 6.0下开发,而我是在vs 2005 把代码重新改写了一边,同时稍微改了一下界面。 我用来测试客户端(ua)的服务器是 Brekeke SIP Server(安装完后可以注册)。 在程序运行前应该在vs2005重新设置lib和头文件的位置。 库放在lib目录下 头文件放在include目录下。(I have this code is a Youtoo adapted from the sipphone works. (Www.pudn.com have) the original project is developed in vc 6.0, while I was in vs 2005 to rewrite the code aside, at the same time slightly changed about the interface. I used to test the client (ua) of the server is Brekeke SIP Server (can be registered after installation). Before the program runs in VS2005 should be re-instated in the lib and header file location. Treasury on the lib directory下头document include directory.)
    2020-07-02 00:40:01下载
    积分:1
  • MMBPlugInSDK
    Multimedia Builder 是一款制作多媒体程序的优秀软件。它具有强大易用的交互功能,丰富的对象使用,潜力无限的脚本语言,以及小巧易懂的小助手,并且支持绝大多数的多媒体文件格式,加上内建多种影像处理效果,将能帮助你快速的开发一个漂亮的互动式多媒体应用程序。 本套代码为MMB的PLUGIN SDK,用于扩展MMB的应用程序功能。(Multimedia Builder is a multimedia program produced excellent software. It has a powerful and easy to use interactive features, rich object the use of unlimited potential scripting language, as well as small and easy to understand his assistant, and support the vast majority of multimedia file formats, plus built-in a variety of image processing effects, will be able to to help you quickly develop a beautiful, interactive multimedia applications. This set of code for the MMB' s PLUGIN SDK, the application for the expansion of MMB function.)
    2010-03-08 23:58:29下载
    积分:1
  • 21819724325200797837231671038
    VC系列例子(VC series of Examples)
    2008-03-11 14:12:08下载
    积分:1
  • stund_0.96
    vc++写的udp点对点程序。 工具环境是visual studio 2008. stun是一种网络协议。(udp point to point program using vc++. development environment is visual studio 2008. stun is a network protocol.)
    2013-02-25 14:43:00下载
    积分:1
  • 078654
    使用多媒体定时器,VC++精选编程学习源码,很好的参考资料。(Using multimedia timer, VC++ select learning programming source code, a good reference.)
    2013-11-28 10:56:37下载
    积分:1
  • DataBinding
    DATABINDING 的实例,可以作为参考来做自己的实例 (Examples DATABINDING, you can do your own examples as a reference)
    2013-11-25 22:23:15下载
    积分:1
  • fp4awel
    安装.net2003的系统组件时需要的文件之一,黏贴到C:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/40/bin 中(Installation. Net2003 system components when one of the documents required, stick to C :/ Program Files/Common Files/Microsoft Shared/Web Server Extensions/40/bin in)
    2013-07-09 19:45:00下载
    积分:1
  • cat
    短信猫所需要的dll文件,h文件以及lib文件共参考。(SMS cat dll files, h files, and lib files of reference.)
    2012-12-22 15:12:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载