开发者

Cpu schedule, removing thread from queue

I'm implementing now CPU schedule algorithms FCFS, SJF and Round Robin. Could somebody tell when process is removed from queue (FCFS,SJF,RR)? I mean, first CPU execute thread and after executing remove开发者_Go百科 from queue or the other way around?


A process (thread) should be removed from the queue immediately prior to execution, then placed back on the scheduling queue once execution is suspended.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜