Multi producer multi polling consumer
Note: work in progress
MP2C is a data structure that enables multiple producers/publishers to send messages to multiple consumers/subscribers/readers/receivers.
A message
in mp2c
context is a vector of u8
. It's upto the producers/ consumers to marshall and unmarshall these messages as they best see fit.
Yes.
mp2c::asynch::Carousel
supports full async behavior. All messages put on the Carousel
are asynchronously sent to the consumers.
Yes. In the spirit of don't communicate by sharing memory, share memory by communicating, all messages are cloned as many times as the count of mp2c::asynch::Consumer
s.