5 ms·
> some threshold of resource usage is triggered (a timer interrupt of instance) That's literally the definition of preemptive scheduling.
by 0xfedbee 3y ago
> some threshold of resource usage is triggered (a timer interrupt of instance)
That's literally the definition of preemptive scheduling.
- otabdeveloper4 3y agoNo idea why you are downvoted for quoting the literal textbook definition.
- earthboundkid 3y agoYes, but "preemptive" sounds so aggressive. We prefer the term "alternative cooperation".
- makapuf 3y agoIt could also be cooperative scheduling with a watchdog with task killing abilities (like we have for memory usage, it's effectively cooperative + OOM)