4 ms·
"A SPNT OS has no real need of a scheduler." I would rather disagree: https://en.wikipedia.org/wiki/Computer_multitasking https://en.wikipedia.org/wiki/Compute
by ravanave 11y ago
"A SPNT OS has no real need of a scheduler."
I would rather disagree: https://en.wikipedia.org/wiki/Computer_multitasking https://en.wikipedia.org/wiki/Computer_multitasking. OS in the most of the cases needs to be interactive, what would be impossible without multitasking. Multitasking would not be possible without a scheduler. So, we would not swap the active task and we would be stuck with the current task forever (or until it finishes), without even the ability to interrupt it.
- stefantalpalaru 11y ago> A single process, non-threaded (SPNT) OS runs one process at a time There's no multitasking in this scenario. Think MS-DOS 6.22.
- ravanave 11y agoOf course, there does not have to be, but if there would then it would be very useful. Think MS-DOS 4.0 multitasking: https://en.wikipedia.org/wiki/MS-DOS_4.0_(multitasking) https://en.wikipedia.org/wiki/MS-DOS_4.0_(multitasking) One process can have a preemptive multitasking. Even one process can make a very good use of a scheduler.