Description: Design of a parallel to the process N one priority scheduling process: Each process has a process control block (PCB) said. Process control block may contain the following information: process name, priority number, arrival time, need to run time, has spent CPU time, the process of the state and so on.
The process priority number and needs of the running time can be artificially designated in advance (you can also by a random number generator). Process, the arrival time for the process input time.
The process of running time to time slices are calculated as a unit.
The state of each process can be ready W (Wait), run the R (Run), or the completion of F (Finish), one of three states.
Ready access to CPU after the process can only run one time slice. CPU time has been occupied with the plus one indication of this.
If you are running a time slice, after the process has been CPU-time has reached the required running time, then undo the process, if a time slice to run after the pr
- [ProcessScheduling] - First, the purpose of high-level languag
- [jcym] - This is a two-priority scheduling algori
File list (Check if you may need any files):
ProcessScheduling.c