There is something in your operation system called “scheduler”. Thats a part of software that coordinates wich software is executed when.
So it’s a hierarchy but a rather flat one. The scheduler is in charge of all the other processes.
Then those can have different priority, like, your PC should first react to user inputs and not wait for some slow calculation to finish before the mouse moves. The scheduler organizes that, and programs also tell the scheduler they are currently waiting for something else to happen first (wich means you have to consider stuff like a high priority process lending it’s priority to the process it’s waiting for)
Latest Answers