Page 1 of 1

operating system related Question: Let’s assume you have 5 process p1, p2, p3, p4 and p5 tries to enter in the critical

Posted: Wed Apr 27, 2022 3:34 pm
by answerhappygod
operating system related Question:
Let’s assume you have 5 process p1, p2, p3, p4 and p5
tries to enter in the critical section in the same order. Exit
order of process is p2, p1, p3. Find the value of S variable,
number of variables in block queue and number of processes in
critical section at every entry and exit? Starting value of S is
3.