-
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
-
SourceTo outlined SourceTo is a source code conversion tools. It will require th...
SourceTo概述 SourceTo是一个源代码转换工具。它对于需要将源代码转成其他文本格式(比如HTML,RTF)的人来说将是一个好帮手。如果你有在网站上发表技术文章的习惯,赶快获得一个SourceTo,它将为你的文章增色不少... -SourceTo outlined SourceTo is a source code conversion tools. It will require the source code into the other text format (such as HTML, RTF) who will be a good helper. If you have published on the Web habits of technical articles, as soon as possible was a SourceTo. It will add to the excitement of your many articles ...
- 2022-04-27 23:34:22下载
- 积分:1
-
银行家算法的实现原理
银行家算法的实现原理-Principle
- 2022-02-03 22:46:02下载
- 积分:1
-
FREE_RTOS一个FREE的小型操作系统.
FREE_RTOS一个FREE的小型操作系统.-FREE_RTOS a FREE small operating system.
- 2022-02-20 12:04:02下载
- 积分:1
-
Operating system console procedures
操作系统控制台程序-Operating system console procedures
- 2022-12-10 01:15:03下载
- 积分:1
-
是操作系统的置换算法,主要用于操作系统的阻塞与执行还有就绪...
是操作系统的置换算法,主要用于操作系统的阻塞与执行还有就绪-Operating system replacement algorithm is mainly used for blocking the implementation of the operating system still in place
- 2022-01-25 23:00:00下载
- 积分:1
-
操作系统中会遇到银行家的问题
操作系统中会遇到银行家的问题-operating system will encounter the problem of bankers
- 2022-10-18 20:35:03下载
- 积分:1
-
银行家算法 已分配和可利用的 利用银行家算法可以避免死锁的发生...
银行家算法 已分配和可利用的 利用银行家算法可以避免死锁的发生-Banker" s algorithm has been allocated and the use of banker" s algorithm can be used to avoid the occurrence of deadlock
- 2023-01-11 21:50:04下载
- 积分:1
-
mutil cpu code 多核编程资料
mutil cpu code 多核编程资料-mutil cpu code multi-core programming information
- 2022-02-02 22:09:24下载
- 积分:1
-
2004.7.6日上传的一个有错这是2004.7.7日重新传的。这是本人用汇编和C混合编成的一个32...
2004.7.6日上传的一个有错这是2004.7.7日重新传的。这是本人用汇编和C混合编成的一个32-bit多任务、多线程的操作系统内核。现在暂时不提供原代码但可以下载用。谁有兴趣且觉得自己有能力和我共同完善它最终实现真正的中国本土的高端操作系统请和我联系:yaocong@mail.china.com -2004.7.6 date passes on has mistake this is 2004.7.7 dates
repasses on. This is myself uses the assembly and C mix forming 32-bit
multi- duties, the multi-thread operating system essence. Now
temporarily does not provide the original code but to be allowed to
download uses. Who has the interest also thought oneself has the
ability and I consummates it finally to realize the genuine Chinese
native place high end operating system together please to relate with
me: Yaocong@mail.china.com
- 2023-05-02 10:10:03下载
- 积分:1