登录
首页 » Unix_Linux » banker_by_array

banker_by_array

于 2008-11-15 发布 文件大小:8KB
0 292
下载积分: 1 下载次数: 0

代码说明:

说明:  本程序为自己在学习操作系统时独立根据书上所述的银行家算法制作而成,包括一个数组输入函数(Sr()),数组输出函数(Pr())和一个判断函数(test()),并通过指针传递参数,可以自定义进程数目和资源种类数目(源程序限10个以内,可自行更改数组)。 注:本程序是在linux环境下通过gcc编译器编译成功的。若移植到windows环境下可能在汉字显示部分出现乱码。(This procedure for their own independence in learning, when the operating system on the basis of the book described in banker s algorithm produced, including an array of input function (Sr ()), array output function (Pr ()) and a judging function (test () ), and through pointer parameters, the process can customize the number and type of the number of resources (source 10 within limits, can make changes to the array). Note: This procedure is in the linux environment through the gcc compiler to compile successful. If transplanted into windows environment may display garbled characters.)

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

发表评论

0 个回复

  • LM2500
    simulink燃气轮机模型 可进行仿真(simulink gas turbine LM2500)
    2021-01-26 14:48:37下载
    积分:1
  • PV
    说明:  模拟操作系统经典生产者和消费者的原理代码(Simulated operating system, the principle of the classic producer and consumer code)
    2009-09-20 22:03:20下载
    积分:1
  • 银行家算法
    基于c++的简易银行家算法。。。。....(A simple banker algorithm based on C + +....)
    2020-06-24 00:20:02下载
    积分:1
  • subject_3
    对于OPT算法,在有多个页面可选的情况下,先淘汰较早进入的页面)。 3. 计算缺页次数及缺页率。 测试用例格式如下: 输入: 算法(1 OPT,2 FIFO,3 LRU) 内存块数 页面序列(页面1,页面2,页面3,...) 输出: 页面变化时内存块装入页面列表1-是否命中/页面变化时内存块装入页面列表2-是否命中/... 缺页次数 其中: 页面变化时内存块装入页面列表:内存块1装入页面,内存块2装入页面,内存块3装入页面...,未装入任何页面时由 -”表示 是否命中:1-命中,0-缺页">
    2021-04-27 00:48:45下载
    积分:1
  • 78579845
    弹出日期选择器,精选ios编程学习源码,很好的参考资料。(Pop-up date selector, selection of learning IOS programming source code, a good reference.)
    2013-12-07 11:12:40下载
    积分:1
  • ThreadX_in_Chinese
    大唐移动和Express Logic公司合作,应用Threadx操作系统开发的中文文档。翻译得还行,不想费尽看英文的推荐下载(Datang Mobile and Express Logic company, the application of ThreadX operating system developed by the Chinese document. Translation may also visit brains do not want to see that the English version of the Recommended Download)
    2008-02-26 11:04:04下载
    积分:1
  • program
    作业调度程序,模拟操作系统的作业调度过程,协调和控制各个作业对cpu的使用控制(Job scheduling program to simulate the process of the operating system job scheduling, coordinating and controlling the use of control operations on cpu)
    2011-05-19 17:32:58下载
    积分:1
  • OS
    说明:  这是操作系统中调度算法中时间片轮转算法完成后的实践报告(This is the operating system scheduling algorithm in the time slice cycle after the completion of practice report)
    2010-09-06 10:48:24下载
    积分:1
  • writerandreader
    计科操作系统课程“读者写者”问题的经典解决。(Branch of the operating system programs, " wrote the reader" as a problem to solve classic.)
    2009-05-13 15:29:02下载
    积分:1
  • CCD-Sensor-and-CMOSSensor
    CCD Sensor与CMOS Sensor基本原理(CCD Sensor with CMOS Sensor Fundamentals)
    2016-06-13 10:00:44下载
    积分:1
  • 696518资源总数
  • 106164会员总数
  • 18今日下载