In a producer-consumer scenario also known as Bounded-Buffer Problem, what…
ISRO Scientist/Engineer SC · 2023 · Computer Science · Part A · Discipline
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 894 students.
Sign up free to check your answer
Sign up freeLoading lesson…