Professional Documents
Culture Documents
Concurrency concepts
Learning Outcomes
CT074-3-2
Concurrent Programming
Concurrency types
Round Robin
Scheduler
Priority
CT074-3-2
Concurrent Programming
Round Robin
Round robin is the scheduling algorithm
used by the CPU during execution of the
process . Round robin is designed
specifically for time sharing systems . It is
similar to
first come first serve scheduling algor
ithm
but the preemption is the added
functionality to switch between the
processes .
CT074-3-2
Concurrent Programming
CT074-3-2
Concurrent Programming
CT074-3-2
Concurrent Programming
Round Robin
CT074-3-2
Concurrent Programming
CT074-3-2
Concurrent Programming
CT074-3-2
Concurrent Programming
CT074-3-2
Process
P0
0-0=0
P1
5-1=4
P2
8-2=6
P3
16 - 3 = 13
Average Wait Time: (0+4+6+13) / 4 = 5.55
Concurrent Programming
10
Priority
CT074-3-2
Concurrent Programming
11
Q&A
CT074-3-2
Concurrent Programming
12