yeonxhan_88
New Member
The producer thread should generate random numbers and put them into a shared buffer, while the consumer thread should retrieve numbers from the buffer and print them.. give solution !
Why? What is it for? Homework? Assignment? Work related? Other?give solution !
There is not enough information to answer this question. Unless @yeonxhan_88 tells us more, we are unable to help. We do even know the form of the answer that they want. Is it a computer program that you must write? If so which programming language?The producer thread should generate random numbers and put them into a shared buffer, while the consumer thread should retrieve numbers from the buffer and print them.. give solution !
Where I live, the children are finishing their elementary school year (June 2023). It depends on the school district, but the last day of school was either last week or this week for most children in our area.Not another homework Thread.