Process State
Posted on
Each process is in a state and can transition from its current state to a new state. This is helpful for scheduling (see CPU Virtualisation) - a Ready
process can be scheduled while another is Blocked
, for example.
Common states include:
Running
Ready
Blocked
Common state transitions include:
Ready
->Running
: ScheduleRunning
->Ready
: DescheduleRunning
->Blocked
: Initiate IOBlocked
->Ready
: Finish IO
Tags: programming ostep