Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我现在正在实现 CPU 调度算法 FCFS、SJF 和 Round Robin。有人可以告诉进程何时从队列中删除(FCFS、SJF、RR)吗?我的意思是,第一个 CPU 执行线程,然后执行从队列中删除,或者相反?
进程(线程)应在执行前立即从队列中删除,然后在执行暂停后放回调度队列。