登录
首页 » Unix_Linux » banker_by_array

banker_by_array

于 2008-11-15 发布 文件大小:8KB
0 345
下载积分: 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 个回复

  • banker_work
    在C环境下,通过链表模拟银行家算法,可自定义资源量和资源数,以及进程数,实现判定避免死锁的分配。(In the C environment, through the list bankers algorithm simulation, can be custom resource amount and the number of resources, as well as the number of processes, determine the deadlock avoidance allocation.)
    2013-12-24 17:17:41下载
    积分:1
  • fptree
    FP-growth算法的改进C++程序,具有较好的扩展性和应用性,本程序改成用行读取,然后在内存中解析。更有效的方式是采用块读取方式(本人在以前项目中验证过,速度大为提高。)(FP-growth algorithm C++ Procedures, have good scalability and application, the procedure changed to use line to read, and then resolve in memory. More effective approach is the use of block-read mode (I tested before the project, speed greatly improved.))
    2008-02-23 11:36:19下载
    积分:1
  • 算法图解
    这是一本关于算法的书,通俗易懂,好理解,难得的书(This is a book about algorithm, easy to understand, easy to understand, and rare book.)
    2018-10-12 22:32:44下载
    积分:1
  • OSDemo
    操作系统实验演示代码(三个实验,作业管理,内存管理,文件管理)(Experimental demonstration of the operating system code (three experiments, operations management, memory management, document management))
    2020-06-26 11:00:02下载
    积分:1
  • NASM_c
    NASM加C语言实现的一个简单的内核,自己写操作系统资料(NASM plus C language implementation of a simple kernel, the operating system to write their own data)
    2010-01-20 20:34:30下载
    积分:1
  • caozuoxitong
    操作系统综合实验报告 关于单处理器系统的进程调度的实验报告分析以及源码(Operating a comprehensive report on the experimental process of scheduling a single processor system analysis and the source of the experimental report)
    2010-01-08 18:53:47下载
    积分:1
  • caozuoxitongshiyanwendang
    操作系统的实验文档 包含设计与说明 带源码例子(Document contains the operating system design and description of experimental)
    2010-11-17 11:26:54下载
    积分:1
  • OSLab-
    操作系统课程设计。visual studio 2010,2008上的模拟UNIX文件系统的c++源码,附加实验报告和readmefile(1.Simulate a Unix file system on your Windows Platform 2.Understand the file system on Unix system, and the usage of i-nodes 3.Implement the function of sub-directory 4.The task needs to be completed using C++ or C 5.Allocate 16MB space in memory as the storage for your file system, the space is divided as blocks with block size 1KB 6.The i-node should support up to 10 direct block addresses, and should support at least one indirect block address )
    2020-10-12 22:37:33下载
    积分:1
  • Enhancement-for-OS-ELM
    在线序列极限学习机OS-ELM算法的基本原理及其改进算法(􀀬 In this paper, we propose a Constructive Enhancement for OS-ELM (CEOS-ELM), which can add random hidden nodes one-by-one or group-by-group with fixed or varying group size.􀁑 􀀃 􀁗 􀁋 􀁌 􀁖 􀀃 􀁓 􀁄 􀁓 􀁈 􀁕 􀀏 􀀃 􀁄 􀁑 􀀃 􀀨 􀁑 􀁋 􀁄 􀁑 􀁆 􀁈 􀁇 􀀃 􀀲 􀁑 􀁏 􀁌 􀁑 􀁈 􀀃 􀀶 􀁈 􀁔 􀁘 􀁈 􀁑 􀁗 􀁌 􀁄 􀁏 􀀃 􀀨 􀁛 􀁗 􀁕 􀁈 􀁐 􀁈 􀀃 􀀯 􀁈 􀁄 􀁕 􀁑 􀁌 􀁑 􀁊 􀀃 􀀰 􀁄 􀁆 􀁋 􀁌 􀁑 􀁈 􀀃 􀀋 􀀨 􀀲 􀀶 􀀐 􀀨 􀀯 􀀰 􀀌 􀀃 􀁄 􀁏 h)
    2016-10-24 13:08:46下载
    积分:1
  • MyBank
    说明:  操作系统银行家算法,C#编写,比较漂亮,有用!(OS Banker' s algorithm, C# prepared, more beautiful, works!)
    2010-05-04 17:32:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载