why call schedule explicitly in sys
I'm taking an OS class and we're looking at the scheduler, my question is about when to explicitly call schedule().
In linux 2.4, scheduler is called after 'need_resched' flag is set, why do we explicitly call schedule() in sys_sched_yield(), and what would happen if we just set the flag instead?
链接地址: http://www.djcxy.com/p/84894.html上一篇: 计算经度/纬度
下一篇: 为什么在sys中显式调用schedule