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 ord

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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 ord

Post by answerhappygod »

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.
OS related question
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply