Question 41
In the Producer-Consumer problem with a bounded buffer of size N, which semaphores are used for synchronization?
The bounded buffer problem uses 3 semaphores: 'mutex' initialized to 1 (for mutual exclusion on buffer access), 'full' initialized to 0 (counts filled slots), and 'empty' initialized to N (counts free slots).