Description: Process scheduling simulation
1. Use language to achieve the n processes using different scheduling process scheduling.
2. The process used to identify each process control block PCB used to describe the structure, including the following fields:
(1) process identification ID, where 0 is the process of wandering, the identity of the user process number 1, 2, ....
(2) process priority Priority, wandering process (idle) priority is 0, the user process priority greater than 0, and randomly generated, the greater the priority number, the higher the priority.
(3) process CPU time CPUtime, each process runs once, the cumulative value equal to 4.
(4) process requires a total running time Alltime, using random function generator.
(5), process status, 0: Ready state 1: Run the state 2: blocking state.
(6) queue pointer next, is used to link multiple process control block PCB for the queue.
3. Change the principle of priority number
(1) process to stay in a ready queue in each time s
To Search:
File list (Check if you may need any files):
OS_1_1\bin\Debug\OS_1_1.exe
......\Head.h
......\main.c
......\note.txt
......\obj\Debug\main.o
......\OS_1_1.cbp
......\OS_1_1.depend
......\OS_1_1.layout
......\OS_1_1.workspace
......\bin\Debug
......\obj\Debug
......\bin
......\obj
OS_1_1