Please with out put to make sure it is correct .. Part 3 Write a C program using
ID: 3677015 • Letter: P
Question
Please with out put to make sure it is correct ..
Part 3 Write a C program using Pthreads and a circular queue to simulate the round-robin scheduling algorithm as follows: The program is to be called round_robin.c and it works only with 5 processes, P_1, P_2, P_3, P_4, and P_5 To simulate work for each P_i, use C's sleep() function To run your program, pass the desired quantum along with 5 burst times, one for each of the 5 processes (Pi through P5) in the circular ready queue. Your program should take inputs and output a table (based on Gantt chart) as shown below: