![]() |
When a process switches from the running state to the waiting state. |
![]() |
When a process switches from the running state to the ready state. |
![]() |
When a process switches from the waiting state to the ready state. |
![]() |
When a process terminates |
![]() |
Nonpreemptive scheduling: When a process uses CPU, it does not release CPU until it terminates or |
| switches to the wait state. |
![]() |
Preemptive scheduling: The operating system can force the process to release CPU and switch it to the |
| ready queue. |
![]() |
Switching context. |
![]() |
Switching to user mode. |
![]() |
Jumping to the proper location in the user program to restart that program. |