-
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
-
This is a process of the operating system's scheduling experiment, the sched...
这是一个关于操作系统进程调度的实验,采用的是优先权调度算法-This is a process of the operating system"s scheduling experiment, the scheduling algorithm is priority
- 2022-02-10 12:01:34下载
- 积分:1
-
<自己动手写操作系统>源代码第4章,其中所有代码都已通过调试,之间包括可运行程序,直接下载到虚拟机上可以运行。...
源代码第4章,其中所有代码都已通过调试,之间包括可运行程序,直接下载到虚拟机上可以运行。- source code, Chapter 4, which have passed all of the code debugging, including operational procedures between the directly downloaded to the virtual machine can run.
- 2022-08-09 13:51:36下载
- 积分:1
-
51单片机操作系统
这是一个基于时间片的操作系统 通过时间分割 将51单片机 独立出N个低频单片机 并行运行程序,该系统有一定的实用性,特别是要驱动TFT屏的时候,在刷屏的同时单片机任能做其他事情,如果不是用操作系统,像51这种低端的单片机是做不到同时的,所以这个代码非常有学习的价值
- 2022-01-21 21:11:52下载
- 积分:1
-
Book Lending Management
开发图书借阅管理系统的必要原代码,希望对大家有所帮助-Book Lending Management
- 2022-01-25 22:26:56下载
- 积分:1
-
SINS Transfer Alignment MATLAB procedures, tracking and time delay.
捷联惯导系统传递对准MATLAB程序,跟踪且时间延迟。-SINS Transfer Alignment MATLAB procedures, tracking and time delay.
- 2022-05-25 14:33:43下载
- 积分:1
-
模拟消费者线程的代码
模拟消费者线程的代码-simulation code
- 2022-03-22 20:34:43下载
- 积分:1
-
Nucleus PLUS代码修改
Nucleus Plus 在MC68332上的移植代码-Nucleus Plus Code For MC68332
- 2022-05-30 16:31:17下载
- 积分:1
-
用VC开发的操作系统的进程模拟实验
用VC开发的操作系统的进程模拟实验-VC operating system development process simulation
- 2022-07-01 21:43:26下载
- 积分: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