登录
首页 » Unix_Linux » banker_by_array

banker_by_array

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

  • moniqi
    操作系统页面置换算法模拟器用JAVA语言编写的(pages replacement algorithm operating system simulator with the Java language)
    2006-06-09 14:30:53下载
    积分:1
  • product-consume
    一个生产者-消费者问题例子(a producer-consumer issues example)
    2004-11-26 11:26:31下载
    积分:1
  • CCD-Sensor-and-CMOSSensor
    CCD Sensor与CMOS Sensor基本原理(CCD Sensor with CMOS Sensor Fundamentals)
    2016-06-13 10:00:44下载
    积分:1
  • pws-setup-enowsoft
    php服务器win2000adv+php5.0+iis+apache2+mysql+perl (php server win2000adv+php5.0+iis+apache2+mysql+perl )
    2009-02-19 08:15:14下载
    积分:1
  • diaodu
    这是一个进程调度问题~~~~还是有很多的问题哦(This is a process of scheduling problem ~ ~ ~ ~ still has many problems Oh)
    2007-10-22 19:11:43下载
    积分:1
  • 1998_RLDEiDI
    os developer that helps you develop an os
    2010-11-14 17:56:35下载
    积分:1
  • 算法图解
    这是一本关于算法的书,通俗易懂,好理解,难得的书(This is a book about algorithm, easy to understand, easy to understand, and rare book.)
    2018-10-12 22:32:44下载
    积分:1
  • Cpp1
    模拟操作系统进程调度:运行状态,就绪状态和完成状态。包含有first() prisch() insert1(q) creat(gg) prish() roundsch() 函数的引用。(Simulate the operating system process scheduling: running, ready states, and completion status. Contains the first () prisch () insert1 (q) creat (gg) prish () roundsch () function reference.)
    2011-11-19 08:13:15下载
    积分:1
  • grub4dos_help
    grub4dos使用说明,可以帮助你建立安全的多系统(grub4dos use, I can help you establish a secure multi-system)
    2007-10-29 14:44:18下载
    积分:1
  • distributionofstoragemanagementandrecovery
    模拟段式存储管理的分配与回收,能够输入给定的内存大小,进程的个数,每个进程的段数及段大小;当某进程提出申请空间的大小后,显示能否满足申请,以及为该进程分配资源后有关内存空间使用的情况。 (Analog-stage distribution of storage management and recovery, be able to enter a given memory size, number of processes, each process segment number and segment size when a space the size of the application process, the show can meet the application, as well as the The process, after the allocation of resources relating to the use of memory space.)
    2020-09-17 16:37:55下载
    积分:1
  • 696518资源总数
  • 104569会员总数
  • 24今日下载