登录
首页 » Unix_Linux » banker_by_array

banker_by_array

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

  • AOS-method
    正则化P-M模型的半隐式求解格式,加性分裂算子(AOS)方法(Regularization P- semi implicit solving format of M model, additive division operator (AOS) method)
    2020-10-31 11:39:55下载
    积分:1
  • 刷新
    操作系统定时刷新功能,利用TIMER定时器定时后调用系统刷新功能,可做到计算机自动刷新、开机启动,并可设置刷新间隔时间并存档。(Operating system timing refresh function, using TIMER timer to call system refresh function after timing, can automatically refresh the computer, start, and set refresh interval time and archive.)
    2020-06-16 01:00:01下载
    积分:1
  • fvc1
    说明:  idl的二次开发,用idl代码直接计算植被覆盖度(Using IDL code to calculate vegetation coverage directly)
    2021-01-07 14:43:57下载
    积分: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
  • commands-CMD..DOS-window
    CMD..DOS窗口的一些常用操作和命令;适合新手(Some common operations and commands CMD..DOS window suitable for beginners)
    2016-08-16 21:16:20下载
    积分:1
  • EOSApp
    1)设计一程序,由一个进程创建三个子进程,三个子进程一个是生产者进程,两个是消费者进程。 2)父子进程都使用父进程创建的共享存储区进行通信,由生产者进程将一个数组中的十个数值发送到由5个缓冲区组成的共享内存中。? 3)两个消费者进程轮流接收并输出这十个数值,同时将两个消费者进程读出的数值进行累加求各和。 4)考虑生产者进程生产的速度和消费者进程速度。(1) a program is designed to create three sub processes from one process, three sub processes is the producer process, and the two is the consumer process. 2) the father child process communicates with the shared storage area created by the parent process, and sends ten values in one array to the shared memory composed of 5 buffers by the producer process. L 3) the two consumer processes take turns to receive and output the ten values, and add values to each of the two consumer processes. 4) take into account the production speed of the producer process and the speed of the consumer process.)
    2020-12-23 09:19:08下载
    积分:1
  • 中断优先级
    说明:  中断系统是整个计算机系统必不可少的重要组成部分。利用中断屏蔽技术修改中断优先级(Modifying interrupt priority with interrupt mask technology)
    2020-05-05 09:14:38下载
    积分:1
  • parallel-scrambler
    并行扰码器的实现推导及其结论,非常详细,运用在高速电路上(Parallel implementation of the scrambler is derived and its conclusions, in great detail, using high-speed circuit)
    2011-11-22 13:16:41下载
    积分:1
  • 模拟操作系统的内存调度,硬盘管理,CPU资源分配,进程优先级处理等等(Simulation of memory scheduling, hard disk management, CPU resource allocation, process priority processing and so on)
    2017-10-24 18:30:16下载
    积分:1
  • 源代码pwin
    一个微型操作系统源码。抛砖引玉,希望有更多的国人开发和共享操作系统源码。(a micro-source operating system. Comment hope more people development and sharing of the operating system source code.)
    2004-09-24 21:15:50下载
    积分:1
  • 696524资源总数
  • 103843会员总数
  • 49今日下载