文件名称:进程管理与调度的模拟
介绍说明--下载内容均来自于网络,请自行研究使用
在进程管理与调度模拟系统中,共涉及到两个类和一个结构体:PCB结构体、链队列类和OS类。操作系统启动后,在系统内将存在PCB池,用来存放进程的PCB结构,PCB池的大小决定了系统中能同时存在的进程数量。在本系统中,假定系统能同时存在的进程数为20个,用一个PCB的数组来表示。PCB池中的PCB会有四种状态:运行状态、就绪状态、阻塞状态和空闲状态,所以,在操作系统中将会有四种队列:运行队列、就绪对列、阻塞队列和空闲队列。进程的创建随着操作系统的调度,将会在这四种队列中变迁。-in process management and scheduling simulation systems, involving a total of two classes and the structure of one : the structure of the PCB, the chain queue category and OS category. After commencement of the operating system, the system will exist PCB pool, the process used to store PCB structure, the PCB decided to pool the size of the system can process at the same volume. In this system, the system can also assume that the process at 20, with an array of PCB said. The PCB PCB pond will come in four state : operations, readiness, obstruction of state and idle, so the operating system will have four cohort : Run queue, ready right out, blocking the queue and idle queue. With the creation of the process of scheduling the operating system will be in these four cohorts changes.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
操作系统进程管理与调度的模拟.doc