in Unknown Category edited by
254 views
1 vote
1 vote

The Bounded buffer problem is also known as ___________

  1. Producer – consumer problem
  2. Reader – writer problem
  3. Dining Philosophers problem
  4. Both $(2)$ and $(3)$
in Unknown Category edited by
by
254 views

1 Answer

0 votes
0 votes

The bounded-buffer problems (the producer-consumer problem) is a classic example of concurrent access to a shared resource. A bounded buffer lets multiple producers and multiple consumers share a single buffer. Producers write data to the buffer and consumers read data from the buffer.

  • Producers must block if the buffer is full.
  • Consumers must block if the buffer is empty.  
Hence option A is correct
Answer:

Related questions