抢占式 V.S. 非抢占式

在抢占式多任务系统中(preemptive multitasking)中,调度程序可以强行挂起一个进程,让别的进程获得CPU.

在非抢占式多任务系统中(cooperative multitasking)中,除非进程自己主动停止运行,否则它会一直执行。

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.