Prashanth L.A.
2023-08-08
Â
*Problem 1:* How can the OS make sure the program doesn’t do anything that we don’t want it to do
Â
*Problem 2:* How does the OS stop a process from running and switch to another process
Â
Â
Â
Â
Â
What if a process gets stuck in an infinite loop?
Â
How can the OS gain control of the CPU even if processes are not being cooperative?
Â
What can the OS do to ensure a rogue process does not take over the machine?
Â
The addition of a timer interrupt gives the OS the ability to run again on a CPU
Scheduler makes a decision:
Â
Â
Â