In a producer-consumer scenario also known as Bounded-Buffer Problem, what…
ISRO Scientist/Engineer SC 2023
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?
- A.
Spinlock
- B.
Mutex lock
- C.
Semaphore
- D.
Monitors
Attempted by 1053 students.
Sign up free to check your answer
Sign up freeLoading lesson…

