FCFS中的等待时间为负,为什么?

问题描述 投票:-1回答:1

等待时间永远不能为负,但是当我计算FCFS的等待时间时,它为负。实际问题是什么?

enter image description here

algorithm operating-system scheduling
1个回答
0
投票

enter image description here

您必须更正所有进程的执行顺序,P4的到达时间为1,所以它应该首先执行,然后在两个或多个进程之间发生冲突时比较PID。

© www.soinside.com 2019 - 2024. All rights reserved.