Description: ( 1 ) The system has five processes, each represented by a PCB . PCB structure of:
• Process name- such as P1 ~ P5.
• pointer- by size of the five priority number into程连成queue pointer pointed to the next process PCB first address .
• requirements for running time- assuming that the process needs to run the unit several times .
• priority number- the number of priority given to the process , always select a large number of priority scheduling process executed first .
• Status- assuming two states : Ready and end with R means ready to use E indicates the end . The initial state are ready state.
( 2 ) Before you start running , make sure it s " priority number " and " run-time requirements " for each process . These parameters are entered through the keyboard .
( 3 ) the processor always choose the first team to run the process . Change the priority number of dynamic way to run a process every time , priority number
To Search:
File list (Check if you may need any files):
实验1.dev