Timeline for How exactly does a CPU do process scheduling?
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 18, 2019 at 16:07 | vote | accept | Jacob Garby | ||
| Apr 18, 2019 at 16:03 | answer | added | David Richerby | timeline score: 5 | |
| Apr 18, 2019 at 15:24 | comment | added | Jacob Garby | @Pontus thanks! That makes sense to me, if you put that in an answer I'd be happy to accept it, since that's about as much detail as I wanted. | |
| Apr 18, 2019 at 14:59 | comment | added | Pontus | Typically, the OS sets a hardware timer to trigger an interrupt periodically. When the interrupt is triggered, the scheduler can be invoked. | |
| Apr 18, 2019 at 14:23 | comment | added | Jacob Garby | I understand that it can treat itself differently from other processes, but I don't understand how this is possible. Unless perhaps the CPU itself implements round-robin. | |
| Apr 18, 2019 at 14:21 | comment | added | Discrete lizard♦ | The simple answer is that the OS (or the scheduler specifically) is not "just some code", in the sense that it can treat itself differently from other processes to ensure that the scheduling is handled properly. How this works exactly is outside of my expertise, however. | |
| Apr 18, 2019 at 14:05 | review | First posts | |||
| Apr 18, 2019 at 16:03 | |||||
| Apr 18, 2019 at 14:01 | history | asked | Jacob Garby | CC BY-SA 4.0 |