I need a simple program to illustrate one producer and one consumer problem.
there is a PDF file Attached to explain more.
Moreover, The producer will produce 100 messages for the consumer to consume.
Use an array of 10 slots to hold the contents of the buffer.
The producer should send a sequence of integers to the consumer. Specifically, it should send the sequence 1, 2, 3, ..., 100, in that order. The consumer should receive them and check that it has indeed received exactly that sequence, in that order.
15 freelanceria on tarjonnut keskimäärin 34 $ tähän työhön
im a c/c++ developer based on visual c++ and linux. also a c# developer. i also know java even tough not as much as c, but my apps includes tcp/ip which include thread and synchronization everywhere.
Hello , Are you there ? . now I'm here . yes. . I would like to work with you . we can discuss more about the project . therefore can you talk with me ? .