文件名称:bank
介绍说明--下载内容均来自于网络,请自行研究使用
1、给出系统可用资源向量(例如:系统可用资源=(5,3,8,2,10))。
2、采用时间片轮转法调度进程。
3、进程执行时提出资源请求(可利用随机数给出或从键盘输入)。
4、判断资源是否可以安全分配,要求进程每提出一个资源请求,都要进行安全判断并给出安全序列,否则给出提示。
-1, given the resources available vector systems (for example: the system available resources = (5,3,8,2,10)). 2, using the time slice Round-Robin scheduling process. 3, the process of implementation of the resource requests made (available random number is given or from keyboard input). 4, determine whether the resources allocated to security, claims process is a resource for each request made, should be safe to judge the safety sequence is given, or give tips.
2、采用时间片轮转法调度进程。
3、进程执行时提出资源请求(可利用随机数给出或从键盘输入)。
4、判断资源是否可以安全分配,要求进程每提出一个资源请求,都要进行安全判断并给出安全序列,否则给出提示。
-1, given the resources available vector systems (for example: the system available resources = (5,3,8,2,10)). 2, using the time slice Round-Robin scheduling process. 3, the process of implementation of the resource requests made (available random number is given or from keyboard input). 4, determine whether the resources allocated to security, claims process is a resource for each request made, should be safe to judge the safety sequence is given, or give tips.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
bank.cpp