Chapter 4 Support for Processes

foil on scheduling

 

When may process scheduling be carried out?

 

1. the system is idle and an interrupt unblocks a process

 

2. a process is running and an interrupt unblocks another process

 

3. a process is running and signals (unblocks) another process

 

4. the current process blocks, waiting for an event

 

 

Note that 2 and 3 do not cause rescheduling

if scheduling is non-preemptive.