tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: posix message queues and multiple receivers
On Tue, Nov 26, 2013 at 09:39:44AM +0100, Marc Balmer wrote:
> What is the prupose or reasoning behind the fact that multiple processes
> can open a message queue for reading using mq_open()?
You can dispatch messages from one producer to several workers (one
writer, multiple readers), or inject work for a single worker from
various clients (one reader, multiple writers).
It is just a mesage queue, not a multiplexor or whatever you are thinking
of. A single message stays a single message and gets delivered once.
Martin
Home |
Main Index |
Thread Index |
Old Index