文件名称:2
- 所属分类:
- 系统编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 5kb
- 下载次数:
- 0次
- 提 供 者:
- yangl******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1、设计一个程序实现基于优先数的时间片轮转调度算法调度处理器。
2、假定系统有5个进程,每个进程用一个进程控制块PCB开代表,进程控制块的结构其中:
进程名:作为进程的标识。
指针:进程按顺序排成循环链表,用指针指出下一个进程的进程控制块首地址,最后一个进程中的指针指出第一个进程的进程控制块首地址。
要求运行时间:假设进程需要运行的单位时间数。
已运行时间:假设进程已经运行的单位时间数,初值为0。
状态:可假设有两种状态,就绪状态和结束状态。进程的初始状态都为就绪状态。-1, design a program of priority based on the number of time slice rotation scheduling processor scheduling algorithm.
2, it is assumed that the system 5 processes, each process using a process control block PCB opened on behalf of, the process control block of the structure of which:
Process were: the logo as a process.
Indicators: process cycle according to the order line list, using a process under the guidelines pointed out that the process control block of the first address, the process of the last section of the guide pointed out that the process of a process control block of the first address.
Run-time requirements: if a process needs time to run the unit.
Has running time: the assumption that the process has been running a number of unit time, the initial value is 0.
Status: to assume that two states, state and end state of readiness. Process for the initial state of readiness.
2、假定系统有5个进程,每个进程用一个进程控制块PCB开代表,进程控制块的结构其中:
进程名:作为进程的标识。
指针:进程按顺序排成循环链表,用指针指出下一个进程的进程控制块首地址,最后一个进程中的指针指出第一个进程的进程控制块首地址。
要求运行时间:假设进程需要运行的单位时间数。
已运行时间:假设进程已经运行的单位时间数,初值为0。
状态:可假设有两种状态,就绪状态和结束状态。进程的初始状态都为就绪状态。-1, design a program of priority based on the number of time slice rotation scheduling processor scheduling algorithm.
2, it is assumed that the system 5 processes, each process using a process control block PCB opened on behalf of, the process control block of the structure of which:
Process were: the logo as a process.
Indicators: process cycle according to the order line list, using a process under the guidelines pointed out that the process control block of the first address, the process of the last section of the guide pointed out that the process of a process control block of the first address.
Run-time requirements: if a process needs time to run the unit.
Has running time: the assumption that the process has been running a number of unit time, the initial value is 0.
Status: to assume that two states, state and end state of readiness. Process for the initial state of readiness.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Main.cpp
Main.ncb
Source1.cpp
Main.ncb
Source1.cpp