Hacker News new | ask | show | jobs
by 0xfedbee 1021 days ago
> some threshold of resource usage is triggered (a timer interrupt of instance)

That's literally the definition of preemptive scheduling.

3 comments

Yes, but "preemptive" sounds so aggressive. We prefer the term "alternative cooperation".
It could also be cooperative scheduling with a watchdog with task killing abilities (like we have for memory usage, it's effectively cooperative + OOM)
No idea why you are downvoted for quoting the literal textbook definition.