ISRO CS-2023
August 29, 2024ISRO CS-2023
August 29, 2024ISRO CS-2023
| Question 75 |
In a producer-consumer scenario also known as Bounded-Buffer Problem, what would be the most appropriate synchronization primitive to ensure that the consumer waits when the buffer is
empty?
empty?
| Spinlock
| |
| Mutex lock | |
| Semaphore | |
| Monitors |
Correct Answer: C
