The producer-consumer problem can be solved in different ways. If we use the buffering technique, which of the following sizes would be the most reliable.
a) A zero capacity as the chances of the producer and consumer access the buffer at the same time is non-existent.
b) A bounded capacity that is sized by the max of the incoming rate.
c) An unbounded capacity. Then you never have any synchronization issues.
d) A dynamic capacity that automatically grows as needed.
`Hey,
Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries.
OPTION C IS CORRECT (AUTOMATIC BUFFERING)
Kindly revert for any queries
Thanks.
The producer-consumer problem can be solved in different ways. If we use the buffering technique, which...