Process states and the saved path back to the CPU
Follow a read that waits for the disk to see where the process goes, what the kernel keeps for it, and how it resumes at the right instruction. Processes and threads · Operating systems.
A program waits on the disk and its CPU time goes to someone else. When the data arrives, how does it carry on from exactly the right instruction?
What you will learn
- Name the five process states and the events that move a process between them
- Say what is saved in a process control block and when it is restored
- Tell when a system call changes only the mode and when the running process changes too
Lesson outline
- Why a waiting process leaves the CPU
- The record the kernel keeps
- From blocked to running again
- A call and a timer
- Creation and exit
15 minutes · 3 scenes · 0 predict checks · 9 quiz questions
The full lesson is available with Premium.