Timeline for How exactly does a CPU do process scheduling?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 18, 2023 at 14:24 | comment | added | Criticizing Israel not allowed | Some older operating systems used "co-operative multitasking", where the operating system didn't use a timer interrupt, but could switch processes whenever the current process called the operating system and wasn't doing anything. Windows could switch processes inside GetMessage, which is the function you call on Windows to wait for something interesting to happen. | |
Apr 19, 2019 at 2:30 | comment | added | Grabul | About "accessing the hardware". This includes reading or writing files, receiving characters from a terminal... processes do "system calls" and, as many operations take some time, such as waiting until a character is received, or that a block is read form a disk, this gives the opportunity for the OS to schedule another task. | |
Apr 18, 2019 at 16:07 | vote | accept | Jacob Garby | ||
Apr 18, 2019 at 16:03 | history | answered | David Richerby | CC BY-SA 4.0 |