Description: Simulation of high-priority process scheduling priority
The highest priority by the number of priority scheduling algorithm (ie the number of processors allocated to the highest priority process), each process has a process control block (PCB) said. Process control block can contain the following information: process name, priority number, need to run time, CPU time has been used, the process of state and so on. The state of each process can be ready W (Wait), run the R (Run), or the completion of F (Finish) one of three states.
Process priority number and needs of the running time can be specified in advance artificially, the process of running time to calculate the time-piece. Ready access to CPU process can only run one time after the film. CPU time has been occupied with a plus 1 to that.
If you run a time slice, the process has been CPU-time has reached the required running time, then undo the process, if a time slice to run after the process has yet to take up CPU time to r
To Search:
File list (Check if you may need any files):
jincheng\jincheng.dsp
........\jincheng.dsw
........\jincheng.ncb
........\Debug\vc60.idb
........\.....\vc60.pdb
........\.....\jincheng.pch
........\.....\jincheng.exe
........\.....\jincheng.pdb
........\.....\jincheng.ilk
........\.....\jin.pch
........\.....\jin.exe
........\.....\jin.pdb
........\.....\jin.obj
........\.....\jin.ilk
........\jincheng.plg
........\jin.ncb
........\jin.plg
........\jin.cpp
........\jin.dsp
........\jin.opt
........\jin.dsw
........\Debug
jincheng