Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Round robin: a special case as two processed one used up it time quantum and the othe

Status
Not open for further replies.

Osawa

Junior Member level 1
Joined
Dec 1, 2013
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,719
I need help with this.
Round robin: a special case as two processed one used up it time quantum and the other arrives at the same time.
For example, we has the following processes:

Process P1:
+ Arrival time: 0
+ Burst time: 7
Process P2:
+ Arrival time: 5
+ Burst time: 7
Assuming that time quantum q = 5 and after time quantum ending if a process doesn't complete it is added to at the end of the queue.

My confusion is about at the time 5. At this time, time quantum of P1 expires and P2 also arrives. What should come the queue first?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top