engineering recuitment GATE CSE 2023-24 Test Series Operating Systems Concurrency and Synchronization Operating System Solution
Consider a counting semaphore S. The operation P(S) performs the operation --S and operation V(S) perform the operation ++V. During program execution, 17P and 11V operation is performed in the some order. What is the smallest initial value of S for which at most 4 processes are in the blocked state?
Enter numerical value using the virtual keypad. Round off where necessary.