442 B
442 B
Define the following transitions between Ready to Run and Running:
- Dispatched
- Yield
- Preempted / Timeslice Expired
🔄
- Dispatched: The scheduler selects a "Ready" thread to start running.
- Yield: The thread voluntarily gives up the processor to let others run.
- Preempted: The OS forces the thread to stop running (often because its time is up or a higher priority thread arrived).