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