文件名称:yhjsf
介绍说明--下载内容均来自于网络,请自行研究使用
模拟实现银行家算法,用银行家算法实现资源分配。设计五个进程{P0,P1,P2,P3,P4}共享三类资源{A,B,C}的系统,{A,B,C}的资源数量分别为10,5,7。进程可动态地申请资源和释放资源,系统按各进程的申请动态地分配资源。要求程序具有显示和打印各进程的某一时刻的资源分配表和安全序列;显示和打印各进程依次要求申请的资源号以及为某进程分配资源后的有关资源数据。-Bankers realize simulation algorithm, with bankers realize the resource allocation algorithm. The design of the five process (P0, P1, P2, P3, P4) sharing the three types of resources (A, B, C) system, (A, B, C) the amount of resources 10,5,7 respectively. Process can be dynamically apply the resources and the release of resources, the system according to process applications for dynamic allocation of resources. Require procedures to display and print a single moment in time the process of resource allocation table and security sequence display and printing requirements of the process followed by the application of resources for a certain number, and after the process of allocation of resources relating to resource data.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.txt
222.c
3.txt
333.txt
4.txt
444.txt
222.c
3.txt
333.txt
4.txt
444.txt