Y
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
earthboundkid
1021 days ago
Yes, but "preemptive" sounds so aggressive. We prefer the term "alternative cooperation".
link
makapuf
1021 days ago
It could also be cooperative scheduling with a watchdog with task killing abilities (like we have for memory usage, it's effectively cooperative + OOM)
link
otabdeveloper4
1021 days ago
No idea why you are downvoted for quoting the literal textbook definition.
link