Introduction - If you have any usage issues, please Google them yourself
Program has achieved two producers and two consumers and producers of consumer issues (when the number of producers and consumers to add a few more when the child process can be a) In order to prevent the program into a loop, giving the number of producers to limit the production at the same time in order to facilitate the shots, the number of qualified relatively small. Here is my program: