reformat
This commit is contained in:
parent
316cf8c1d6
commit
e5aef8679f
159 changed files with 1141 additions and 1100 deletions
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
Define the following transitions between **Ready to Run** and **Running**:
|
||||
|
||||
1. **Dispatched**
|
||||
2. **Yield**
|
||||
3. **Preempted / Timeslice Expired**
|
||||
|
||||
---
|
||||
|
||||
🔄
|
||||
|
||||
1. **Dispatched**: The scheduler selects a "Ready" thread to start running.
|
||||
2. **Yield**: The thread voluntarily gives up the processor to let others run.
|
||||
3. **Preempted**: The OS forces the thread to stop running (often because its time is up or a higher priority thread arrived).
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue