-
1.实验目的: 模拟实现银行家算法,用银行家算法实现资源分配。 2.实验内容: 设计五个进程{P0,P1,P2,P3,P4}共享三类资源{A,B,C}的系统,{...
1.实验目的: 模拟实现银行家算法,用银行家算法实现资源分配。 2.实验内容: 设计五个进程{P0,P1,P2,P3,P4}共享三类资源{A,B,C}的系统,{A,B,C}的资源数量分别为10,5,7。进程可动态地申请资源和释放资源,系统按各进程的申请动态地分配资源。要求程序具有显示和打印各进程的某一时刻的资源分配表和安全序列;显示和打印各进程依次要求申请的资源号以及为某进程分配资源后的有关资源数据。 3.程序设计和说明: 函数说明:anquan( )判断给某个进程请求后系统是否安全,anquan1()判断当前系统是否安全。GetAll()取得所有进程的的各个资源数据。详细说明请参见附录中的程序的文档说明。-1. The experiment : Simulation Algorithm bankers, bankers algorithm with the allocation of resources. 2. Experiment : Design 5 (process P0, P1, P2, P3, P4) (resource sharing three categories A, B, C), (A, B, C) amount of resources to 10,5,7. Dynamic process could apply to the resources and the release of resources, according to the system processes the application to dynamically allocate resources. Procedures required to display and print the process of a moment of the distribution of resources and safety sequence; Display and print the process followed for seeking resources, as well as a process of distribution of resources in the resource data. 3. Program design and description : F
- 2022-04-07 18:24:35下载
- 积分:1
-
SFC simulator game
SFC游戏模拟器 snes9x 1.43 的原代码-SFC simulator game
- 2022-03-06 16:29:14下载
- 积分:1
-
基于UNIX6的文件系统模拟程序,供OS课程设计参考使用,在TC环境下测试成功...
基于UNIX6的文件系统模拟程序,供OS课程设计参考使用,在TC环境下测试成功-UNIX6 based on the file system simulation program for OS reference design courses, TC environment in the test successful
- 2023-03-06 07:00:03下载
- 积分:1
-
C#模仿超级终端
C#模仿超级终端
利用C# Visual Studio 2010来开发的,模仿windows下的超级终端程序实现串口通讯
主要功能,打开串口,设置波特率等等,可以参考。
- 2022-01-24 17:11:08下载
- 积分:1
-
操作系统SunOS 4.1.3版本的源码,大家看看吧
操作系统SunOS 4.1.3版本的源码,大家看看吧-SunOS 4.1.3 Source Code
- 2022-06-14 15:19:46下载
- 积分:1
-
可变分区存储模拟系统
可变分区存储模拟系统-为课程设计用的。操作系统-Variable partition storage simulation system- used for curriculum design. Operating system
- 2022-04-11 15:12:10下载
- 积分:1
-
一个小型操作系统原码,有详细的注释和制作过程,非常适合初学者学习!...
一个小型操作系统原码,有详细的注释和制作过程,非常适合初学者学习!-a small original operating system code, a detailed Notes and the manufacturing process, are very suitable for beginners learning!
- 2022-03-17 13:55:06下载
- 积分:1
-
实时fifo先进先出队列,为内核线程间通信提供高效而且高可靠性通信机制...
实时fifo先进先出队列,为内核线程间通信提供高效而且高可靠性通信机制-- fifo queue FIFO-to-thread communication between the kernel to provide high reliability and efficient communication mechanism
- 2022-02-26 09:33:23下载
- 积分:1
-
操作系统中的哲学家就餐算法 c语言编写
操作系统中的哲学家就餐算法 c语言编写-OS philosopher dine algorithm c language
- 2022-11-22 20:55:03下载
- 积分:1
-
Orange s:一个操作系统的实现(书附源码)chapter2.rar
Orange s:一个操作系统的实现(书附源码)chapter2.rar-Orange" s: an operating system implementation (source code attached to the book) chapter2.rar
- 2023-01-12 20:15:03下载
- 积分:1