登录
首页 » Visual C++ » lock_hungry

lock_hungry

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

  • pcrecord
    该程序能够直接将将录制的声音转换成MP3文件,具有操作简单方便的优点。详细的实现请参考源码。(The program will be able to record sound directly into MP3 files, with the advantages of simple operation. Detailed implementation please refer to source code.)
    2010-01-04 14:41:34下载
    积分:1
  • turbulence
    详细介绍了FLUENT里实现用户自定义湍流模型的方法。(The method of realizing user defined turbulence model in FLUENT is introduced in detail.)
    2021-03-02 16:49:33下载
    积分:1
  • DSP5509-SDRAM2
    基于DSP5509的SDRAM应用实例,含有CCS4环境下的编程源代码(DSP5509 SDRAM example based on the CCS4 environment)
    2013-05-06 12:10:25下载
    积分:1
  • SQL_SERVER2008_EXPRESS
    MFC对话框ADO连接SQL_SERVER2008(MFC dialog ADO connection SQL_SERVER2008)
    2014-01-01 21:13:34下载
    积分:1
  • VC
    说明:  汉王人脸通FaceID VC++ SDK开发包示例程序源代码,包含中英文版本。(Hanvon FaceID SDK, CN and EN demo VC++ source code included.)
    2019-08-14 12:23:30下载
    积分:1
  • Chat
    在VS2005的编程环境下,利用套接字的编程原理,可以实现网络聊天功能。(On the basic of VS2005, take advantage of the principle of Socket to achieve the ability to communicate online.)
    2014-04-11 09:18:47下载
    积分:1
  • capture
    屏幕捕获的程序,将所捕获的屏幕图像保存为BMP格式位图,一个简单的工程(Screen capture program will capture the screen image saved as a BMP bitmap format, a simple project)
    2009-04-23 09:25:20下载
    积分:1
  • codestatistical
    一个实现在代码行数的统计,非常全面,各种信息都可以统计!(An implementation in the line of code number statistics, very comprehensive, all kinds of information can be statistical!)
    2012-10-14 15:35:38下载
    积分:1
  • 100layer-VC
    一个可玩性比较强的小游戏 用VC制作 文件家里包含了所有的资源文件(A relatively strong playability of the game home with VC production of documents that contains all the resource file)
    2008-07-18 10:26:15下载
    积分:1
  • demoPrint
    通过使用MFC GDI来控制和操作打印机,以及打印视图阅览。(using GDI of mfc to control and operate printer and show printer view.)
    2011-07-24 08:31:33下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载