Question: There are two processes P1 and P2. P1's total processing time is 70 ms. P2's total processing time is 60 ms. Context switch time between
There are two processes P1 and P2.
P1's total processing time is 70 ms.
P2's total processing time is 60 ms.
Context switch time between processes = 20 ms.
Context switch time between threads of same process = 0
Timer interrupt time = 40 ms
Process 1 goes for I/O request after 40 ms of its execution, and this I/O takes 40 ms to complete.
Process 2 spawns a new thread T2 after 40 ms of its execution. This new thread T2's total processing time is 40 ms.
Write a timeline starting from 0 ms until completion of all processes and threads.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
