Question OS-SYNC-0026
EasyIn the producer–consumer problem, what must the consumer do when the buffer is empty?
- A.
Create an item itself
- B.
Stop the producer permanently
- 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 consumer do when the buffer is empty?
Create an item itself
Stop the producer permanently
Sign up free to see the answer and a step-by-step explanation.
Wait until the producer adds an item
Delete the buffer