开发者

About preemptive and non-preemptive kernel

开发者 https://www.devze.com 2023-02-18 21:46 出处:网络
Here is my point about preemptive and non-preemptive kernel. As the interruption handling process is implemented in the kernel, does it imply that ne开发者_高级运维sted interruption can only happen in

Here is my point about preemptive and non-preemptive kernel. As the interruption handling process is implemented in the kernel, does it imply that ne开发者_高级运维sted interruption can only happen in a preemptive kernel?


No. "pre-emptive" versus "non-pre-emptive" kernels are referring to kernel code being prempted by code not running in interrupt context. Interrupts are special, and even "non-pre-emptive" kernels typically allow kernel code to be preempted by interrupt handlers (and often even allow nested interrupts).

0

精彩评论

暂无评论...
验证码 换一张
取 消