-
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
-
MetaFS 文件系统工程文件源码,基于dokan文件系统驱动
MetaFS 文件系统工程文件源码,基于dokan文件系统驱动-MetaFS file system project source code files, based on the file system driver dokan
- 2022-01-22 06:02:02下载
- 积分:1
-
好好利用! 好好利用!
好好利用! 好好利用! -make good use! M ake good use! M ake good use! M ake good use! Make good use!
- 2023-06-03 20:40:02下载
- 积分:1
-
先进先出等等操作系统中几种进站出站顺序的实现
先进先出等等操作系统中几种进站出站顺序的实现
-操作系统中几种进站出站顺序
- 2023-06-22 00:55:04下载
- 积分:1
-
进程同步问题模拟
进程同步问题模拟-simulation process synchronization problem
- 2023-07-06 03:35:03下载
- 积分:1
-
我自己写的一个实模式的操作系统,支持fat12文件系统和一个和shell整合到一起的简单的键盘驱动,目前正在实现pci总线驱动程序。以后将会转入到保护模式下开发...
我自己写的一个实模式的操作系统,支持fat12文件系统和一个和shell整合到一起的简单的键盘驱动,目前正在实现pci总线驱动程序。以后将会转入到保护模式下开发-I wrote it myself a real mode of the operating system, support FAT12 file system and a shell and the integration with a simple keyboard-driven, are currently achieving pci bus driver. After that it will enter a protected mode development
- 2022-07-10 19:09:18下载
- 积分:1
-
页面置换算法模拟的简单实现,及相关过程.
页面置换算法模拟的简单实现,及相关过程.-page replacement algorithm simulation of a simple realization, and the related process.
- 2023-01-18 12:05:03下载
- 积分:1
-
提高嵌入式软件质量的途径,中文版本。写很详细
提高嵌入式软件质量的途径,中文版本。写很详细-To improve the quality of embedded software means, the Chinese version. Write a very detailed
- 2023-05-20 02:30:03下载
- 积分:1
-
操作系统课程设计,模拟文件系统(unix混合索引方式),此程序是在1周的课程设计中所写,不完善,且代码粗糙。但,希望能给大家一些帮助,也希望能对你们的课程设计有...
操作系统课程设计,模拟文件系统(unix混合索引方式),此程序是在1周的课程设计中所写,不完善,且代码粗糙。但,希望能给大家一些帮助,也希望能对你们的课程设计有所帮助,更希望能有人修改它。谢谢!-courses on operating system design, simulation File System (unix Index Mixed mode), this procedure is the one-week course design is written, imperfect and code rough. However, the hope of giving you some help, and hope they can right your curriculum design help, the hope was modifying it. Thank you!
- 2022-07-07 01:21:11下载
- 积分:1
-
斯坦福大学的源代码教程,演示如何使用通讯录。
Stanford iPhone课程配套源码,介绍Address Book的用法。-source code of Stanford iPhone course, demo of how to use Address Book.
- 2022-05-27 21:05:09下载
- 积分:1