文件名称:Deal_Process
- 所属分类:
- 操作系统开发
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2013-04-12
- 文件大小:
- 1.86mb
- 下载次数:
- 0次
- 提 供 者:
- 张*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1.设定系统中有五个进程,每一个进程用一个进程控制块表示。
2.输入每个进程的“优先数”和“要求运行时间”。
3.为了调度方便,将五个进程按给定的优先数从大到小连成就绪队列。用一单元指出队列首进程,用指针指出队列的连接情况。
4.处理机调度总是选队首进程运行。采用动态优先数算法,进程每运行一次优先数就减“1”,同时将运行时间减“1”。
5.若某进程运行时间为零,则将其状态置为“结束”,且退出队列。
6.运行所设计程序,显示或打印逐次被选中进程的进程名,以及进程控制块的动态变化过程。
-1. Set the system in five processes, each process in a process control block. 2. " Priority" to enter each process and requirements of running time. " 3. In order to facilitate the scheduling, the five process at a given priority number from largest to smallest connected into the ready queue. A unit that the head of the queue process, the pointer pointed out that the connection to the queue. 4. Processor scheduling always choose the team' s first process is running. The using dynamic priority number algorithm, the process Each time you run priority number by " 1" , while the running time of less " 1" . 5. If the running time of a process is zero, the state is set to " end" and exit the queue. 6. Run the design process, display or print successive selected process name of the process, and the process control block dynamic process.
2.输入每个进程的“优先数”和“要求运行时间”。
3.为了调度方便,将五个进程按给定的优先数从大到小连成就绪队列。用一单元指出队列首进程,用指针指出队列的连接情况。
4.处理机调度总是选队首进程运行。采用动态优先数算法,进程每运行一次优先数就减“1”,同时将运行时间减“1”。
5.若某进程运行时间为零,则将其状态置为“结束”,且退出队列。
6.运行所设计程序,显示或打印逐次被选中进程的进程名,以及进程控制块的动态变化过程。
-1. Set the system in five processes, each process in a process control block. 2. " Priority" to enter each process and requirements of running time. " 3. In order to facilitate the scheduling, the five process at a given priority number from largest to smallest connected into the ready queue. A unit that the head of the queue process, the pointer pointed out that the connection to the queue. 4. Processor scheduling always choose the team' s first process is running. The using dynamic priority number algorithm, the process Each time you run priority number by " 1" , while the running time of less " 1" . 5. If the running time of a process is zero, the state is set to " end" and exit the queue. 6. Run the design process, display or print successive selected process name of the process, and the process control block dynamic process.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Deal_Process\Deal_Process.aps
............\Deal_Process.clw
............\Deal_Process.cpp
............\Deal_Process.dsp
............\Deal_Process.dsw
............\Deal_Process.h
............\Deal_Process.ncb
............\Deal_Process.opt
............\Deal_Process.plg
............\Deal_Process.rc
............\Deal_ProcessDlg.cpp
............\Deal_ProcessDlg.h
............\..bug\APPMODUL.obj
............\.....\Deal_Process.exe
............\.....\Deal_Process.ilk
............\.....\Deal_Process.obj
............\.....\Deal_Process.pch
............\.....\Deal_Process.pdb
............\.....\Deal_Process.res
............\.....\Deal_ProcessDlg.obj
............\.....\StdAfx.obj
............\.....\vc60.idb
............\.....\vc60.pdb
............\ReadMe.txt
............\res\Deal_Process.ico
............\...\Deal_Process.rc2
............\resource.h
............\StdAfx.cpp
............\StdAfx.h
............\Debug
............\res
Deal_Process