Question OS-SYNC-0027
EasyIn the producer–consumer problem, what must the producer do when the buffer is full?
- A.
Make the buffer larger
- B.
Wait until the consumer removes an item
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Process Synchronization question
In the producer–consumer problem, what must the producer do when the buffer is full?
Make the buffer larger
Wait until the consumer removes an item
Sign up free to see the answer and a step-by-step explanation.
Overwrite the oldest item
Stop forever