循环调度-到达时间领带哪个先到? [英] Round Robin Scheduling - Arrival Time Tie which comes first?

查看:130
本文介绍了循环调度-到达时间领带哪个先到?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果循环调度"中两个进程的到达时间相等,会发生什么情况?订单(未说明)是否重要或是否考虑了其爆破时间? 两者之间有什么区别?

What happens if there is a tie in the arrival time of two processes in Round Robin Scheduling? Does the order(not stated) matters or their Burst Time is considered? What will be the difference between the two?

示例: p1 AT = 0 BT = 30

Example: p1 AT=0 BT =30

p2 AT = 1 BT = 20

p2 AT = 1 BT = 20

p3 AT = 1 BT = 10

p3 AT = 1 BT = 10

哪个进程首先获得CPU时间p2或p3?

Which process is given CPU time first p2 or p3?

推荐答案

我建议使用p2,因为名称2暗示它早于p3.

I would like to suggest p2, as the name 2 implied that it was earlier then p3.

这篇关于循环调度-到达时间领带哪个先到?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆