Click here to Skip to main content
15,889,462 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to create a program that takes any number of values from user and keep it in a array at producer part.
Then i need to break those into buffers(size = 4)and send them to consumer.
there i need to get sum of above values using 2 threads.
Posted

1 solution

Ignoring the threads, have you written any of the basic code, or are you asking for a complete solution?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900