Introduction - If you have any usage issues, please Google them yourself
Write and debug a simulation of the process scheduler, using the top priority scheduling algorithm for scheduling the five process.
The basic idea of the top priority scheduling algorithm is to allocate the CPU to the highest priority process in the ready queue.
The static priority number is determined when the process is created and is no longer changed throughout the entire process.
Dynamic priority number refers to the process of priority number in the creation process can be given an initial value, and can be modified according to certain principles of priority number.