文件名称:Simulate_Process_Scheduling_Implement_by_C
介绍说明--下载内容均来自于网络,请自行研究使用
模拟进程调度的C语言实现
一、 实验目的
体会UNIX 系统的进程调度方法,并通过一个简单的进程调度模拟程序的实现,加深对进程调度算法,进程切换的理解。
二、 实验内容
采用静态优先数的方法,编写一进程调度程序模拟程序。模拟程序只对你所设置的“虚拟PCB”进行相应的调度模拟操作,即每发生“调度”时,显示出当前运行的“PCB名字”、优先数、运行时间等,而不需要对系统中真正的PCB等数据进行修改。-C UNIX Two experimental use of static content priorities in a way, to prepare a process scheduler simulation program. Simulation program only right you have set up a "virtual PCB" accordingly scheduling simulation operation, that is, each occurrence "Dispatch" shows that the current operation "PCB name" priority number, running time, without the need for a real system, such as PCB data changes.
一、 实验目的
体会UNIX 系统的进程调度方法,并通过一个简单的进程调度模拟程序的实现,加深对进程调度算法,进程切换的理解。
二、 实验内容
采用静态优先数的方法,编写一进程调度程序模拟程序。模拟程序只对你所设置的“虚拟PCB”进行相应的调度模拟操作,即每发生“调度”时,显示出当前运行的“PCB名字”、优先数、运行时间等,而不需要对系统中真正的PCB等数据进行修改。-C UNIX Two experimental use of static content priorities in a way, to prepare a process scheduler simulation program. Simulation program only right you have set up a "virtual PCB" accordingly scheduling simulation operation, that is, each occurrence "Dispatch" shows that the current operation "PCB name" priority number, running time, without the need for a real system, such as PCB data changes.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Simulate_Process Scheduling_Implement_by_C
..........................................\header.h
..........................................\main.c
..........................................\newPCB.c
..........................................\random.c
..........................................\selPCB.c
..........................................\wait.c
..........................................\header.h
..........................................\main.c
..........................................\newPCB.c
..........................................\random.c
..........................................\selPCB.c
..........................................\wait.c