Introduction - If you have any usage issues, please Google them yourself
Design a number of priority scheduling algorithm processor scheduling program
  Tip :
( 1 ) The system has five processes, each represented by a PCB . PCB format:
Process name , pointer, run-time requirements , priority number , status.
Process name- P1 ~ P5.
Pointer- according to the size of the five priority number into程连成queue pointer pointed to the next process PCB first address .
The time required to run- assuming unit time required to run several processes .
Priority number- the number of priority given to the process , always select a large number of priority scheduling process executed first .
State- assuming two states , Ready, represented by R , and end with E said . The initial state are ready state.
( 2 ) Before each run , for each process arbitrarily determine its " priority number " and " run-time requirements ."
( 3 ) the processor is always selected first team processes running . Change the priority number of dynamic way to run a process every time , prior