登录
首页 » Unix_Linux » banker_by_array

banker_by_array

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

  • Wildcard-learning
    正确认识 学习表达式 也有关于DOS 通配符学习(Correct understanding of learning DOS wildcard expressions are also learning about)
    2014-04-16 20:48:23下载
    积分:1
  • banker_by_array
    说明:  本程序为自己在学习操作系统时独立根据书上所述的银行家算法制作而成,包括一个数组输入函数(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.)
    2008-11-15 01:20:10下载
    积分:1
  • Bankers-Algorithm
    操作系统银行家算法,完整的实现了银行家算法所有要求,随机分配资源。(Banker s Algorithm)
    2013-11-29 12:50:05下载
    积分:1
  • dex-os-kernel-1.035-src
    开源操作系统,提供很好的扩展性。可供各位研究(Open-source operating system, providing good scalability. Research for you)
    2009-07-15 20:41:33下载
    积分:1
  • myshell
    用纯C语言编写的一个Linux下的Shell,包含tch和bash的基本功能(包含重定向和后台运行),暂时不支持管道。已经在cygwin和Ubantu 7.10下测试通过。 主要包含: makefile 编译生成myshell可执行文件 myshell.c 主函数(涉及程序入口) utility.c 所有功能函数(将近1000行) myshell.h(包含宏定义、结构体声明、库函数的头文件,及utility.c中的所有函数的声明) readme 用户手册(当用户在myshell里输入help <command> 时,输出<command>的使用说明) (With pure C language under Linux in a Shell, contains tch and bash the basic functions (including redirect and running in the background), the moment does not support the pipeline. Has been under cygwin and test Ubantu 7.10. Mainly includes: makefile compiler generated executable file myshell main function myshell.c (relating to procedures for entrance) utility.c all the features of function (nearly 1000 lines) myshell.h (contains macro definition, the structure declaration, the first document library, and all utility.c statement function) readme user' s manual (when users enter help in myshell <command> , The output <command> The use of explanation))
    2009-04-27 14:38:33下载
    积分:1
  • 3590
    lear about microsoft tool in detail
    2014-08-21 14:42:37下载
    积分:1
  • srtf28
    program to implement Shortest-Remaining Time-First CPU scheduling algorithms
    2010-01-30 14:29:05下载
    积分:1
  • modbuspp-master
    说明:  Modbus master orange
    2020-08-21 15:10:02下载
    积分:1
  • avoid-deadlock
    操作系统实验-死锁避免算法,word文档,详细,全,可执行,自己写的,希望快点能在贵网站下载。。。(Operating System Experiment- Deadlock avoidance algorithm, word documents, detailed, full, enforceable, wrote it myself, hope quickly in your website. . .)
    2013-10-28 19:05:59下载
    积分:1
  • test1
    生产者消费者问题-经典进程同步问题——生产者消费者问题及其同步方案;(produce&comsumer produce&comsumerproduce&comsumerproduce&comsumer)
    2018-05-03 19:36:23下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载