开发者

Cpu schedule, removing thread from queue

开发者 https://www.devze.com 2022-12-27 00:42 出处:网络
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 remo

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

精彩评论

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

关注公众号