登录
首页 » Windows开发 » 银行家算法

银行家算法

于 2022-04-30 发布 文件大小:5.08 MB
0 175
下载积分: 2 下载次数: 1

代码说明:

设Request是进程Pi 请求向量,如果Requesti [j]=k,表示进程Pi 需要k个RJ 类型的资源。当Pi  资源请求后,系统按下述步骤进行检查: (1) 如果Requesti [j]≤Need[I,j]便转向步骤2;否则认为出错,因为它所需要的资源数已超过它所宣布的最大值。 (2) 如果便转向步骤(3);否则,表示尚无足够资源,Pi 须等待。Requesti [j]≤Available[j] (3) 系统试探着把资源分配给进程Pi ,并修改下面数据结构中的数值: 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • VB串口通信实例,串口实例内容详尽,适合初学者
    VB串口通信实例,串口实例内容详尽,适合初学者-VB example of serial communication, serial detailed examples, suitable for beginners
    2023-02-18 17:55:04下载
    积分:1
  • open windows xp firewall source code
    打开WINDOWS xp 防火墙的源代码-open windows xp firewall source code
    2022-03-07 04:48:15下载
    积分:1
  • MT5Gateway
    This code is a sample gateway program between Metatrade 5 platform and external system. This code is a sample gateway program between Metatrade 5 platform and external system. This code is a sample gateway program between Metatrade 5 platform and external system. This code is a sample gateway program between Metatrade 5 platform and external system.
    2023-03-18 06:00:05下载
    积分:1
  • 西部软件下载系统ASP版
    资源描述西部软件下载系统ASP版,是经过改良的,队asp有所帮助,大家可以下下来学习一下。
    2022-01-21 21:04:00下载
    积分:1
  • 介绍了算术逻辑器件的各种实现方式,包括各种方式的优点和缺点...
    介绍了算术逻辑器件的各种实现方式,包括各种方式的优点和缺点-Introduction of the arithmetic logic device realize a variety of ways, including the various ways the advantages and disadvantages of
    2022-02-06 08:04:01下载
    积分:1
  • 设计模式的VC例子,可以用于学习设计模式。我自己觉得 很有用。...
    设计模式的VC例子,可以用于学习设计模式。我自己觉得 很有用。-design patterns VC example, can be used to study design patterns. I feel very useful.
    2022-08-25 01:58:00下载
    积分:1
  • : AT89x52 TG12232B LCD source code
    :AT89x52 & TG12232B 液晶程序源代码-: AT89x52 TG12232B LCD source code
    2023-06-02 08:00:03下载
    积分:1
  • thunk是一组动态生成的ASM指令,它记录了窗口类对象的this指针,并且这组指令可以当作函数,既也可以是窗口过程来使用。thunk先把窗口对象this指针记...
    thunk是一组动态生成的ASM指令,它记录了窗口类对象的this指针,并且这组指令可以当作函数,既也可以是窗口过程来使用。thunk先把窗口对象this指针记录下来,然后转向到静态stdProc回调函数,转向之前先记录HWND,然后把堆栈里HWND的内容替换为this指针,这样在stdProc里就可以从HWND取回对象指针,定位到WindowProc了-thunk is a group of dynamically generated ASM command, it records the window class object this pointer, and this group of commands can be used as a function of both the process can also be a window to use. thunk first window object this pointer record, and then shifted to the static callback function stdProc, before turning record HWND, and then the contents of the stack where HWND replace this pointer, so in stdProc can retrieve the object from the HWND pointer, locate the WindowProc
    2022-08-09 23:02:21下载
    积分:1
  • 搜索引擎抓取 搜索引擎抓取
    搜索引擎抓取 搜索引擎抓取 -spider
    2022-03-01 05:19:43下载
    积分:1
  • Mobile手机录像,获取源数据是WMV9格式,输出格式为ASF Requirements: Visual Studio 2005, Win...
    Mobile手机录像,获取源数据是WMV9格式,输出格式为ASF Requirements: Visual Studio 2005, Windows Mobile 5.0 Pocket PC SDK, ActiveSync 4.0.-Feature Area: Video capture Description: This sample provides the basic video capture functionalities: It captures and encodes video in a WMV file, and captures and encodes an image in a jpeg file. Usage: Build and deploy using Visual Studio 2005. Relevant APIs/Associated Help Topics: ICaptureGraphBUilder2 Assumptions: Your device needs to have a video capture driver installed (the emulator ships with a null capture driver). The video will be saved to the root of your device to "video1.asf". The still picture will be saved to "test.jpg" If you wish, you can change these hardcoded values in the code for the files to be saved to a different location. Requirements: Visual Studio 2005, Windows Mobile 5.0 Pocket PC SDK, ActiveSync 4.0.
    2022-03-10 08:30:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载