文件名称:chulijidiaodu
- 所属分类:
- 进程与线程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 266kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1.设定系统中有五个进程,每一个进程用一个进程控制块表示。
2.输入每个进程的“优先数”和“要求运行时间”。
3.为了调度方便,将五个进程按给定的优先数从大到小连成就绪队列。用一单元指出队列首进程,用指针指出队列的连接情况。
4.处理机调度总是选队首进程运行。采用动态优先数算法,进程每运行一次优先数就减“1”,同时将运行时间减“1”。
5.若某进程运行时间为零,则将其状态置为“结束”,且退出队列。
6.运行所设计程序,显示或打印逐次被选中进程的进程名,以及进程控制块的动态变化过程。-1. Set the system has five processes, each process with a process control block, said.
2. enter each process, "priority number"and"run-time requirements. "
3. For scheduling convenience, the process according to the five priority number given even descending into the ready queue. The first with a unit that processes the queue, the queue with a pointer to that connection.
4. processor scheduling the first team selection process is always running. Algorithm using dynamic priority number, the process for each run by a priority number "1", while running time by "1. "
5. If a process running time is zero, then its status set to "end", and exit the queue.
6. to run the design process, display or print the process of successive process name is selected, and the process control block of the dynamic process of change.
2.输入每个进程的“优先数”和“要求运行时间”。
3.为了调度方便,将五个进程按给定的优先数从大到小连成就绪队列。用一单元指出队列首进程,用指针指出队列的连接情况。
4.处理机调度总是选队首进程运行。采用动态优先数算法,进程每运行一次优先数就减“1”,同时将运行时间减“1”。
5.若某进程运行时间为零,则将其状态置为“结束”,且退出队列。
6.运行所设计程序,显示或打印逐次被选中进程的进程名,以及进程控制块的动态变化过程。-1. Set the system has five processes, each process with a process control block, said.
2. enter each process, "priority number"and"run-time requirements. "
3. For scheduling convenience, the process according to the five priority number given even descending into the ready queue. The first with a unit that processes the queue, the queue with a pointer to that connection.
4. processor scheduling the first team selection process is always running. Algorithm using dynamic priority number, the process for each run by a priority number "1", while running time by "1. "
5. If a process running time is zero, then its status set to "end", and exit the queue.
6. to run the design process, display or print the process of successive process name is selected, and the process control block of the dynamic process of change.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Debug\song.exe
.....\song.ilk
.....\song.pch
.....\song.pdb
.....\test1.obj
.....\vc60.idb
.....\vc60.pdb
.....\处理机调度.obj
song.dsp
song.dsw
song.ncb
song.opt
song.plg
测试进程.txt
处理机调度.cpp
Debug
.....\song.ilk
.....\song.pch
.....\song.pdb
.....\test1.obj
.....\vc60.idb
.....\vc60.pdb
.....\处理机调度.obj
song.dsp
song.dsw
song.ncb
song.opt
song.plg
测试进程.txt
处理机调度.cpp
Debug