[zeromq-dev] Why no shared-memory IPC?
Thomas Rodgers
rodgert at twrodgers.com
Sat Jul 11 22:37:06 CEST 2015
Well, if you are allergic to Boost (or allergic to substantially
reimplementing what Boost Interprocess gives you), yes ;->
On Sat, Jul 11, 2015 at 3:22 AM, Pieter Hintjens <ph at imatix.com> wrote:
> Ah, so you're saying it's almost impossible :)
>
> On Sat, Jul 11, 2015 at 8:53 AM, Michael Haberler <mail17 at mah.priv.at>
> wrote:
> >
> >> Am 09.07.2015 um 21:09 schrieb Thomas Johnson <
> thomas.j.johnson at gmail.com>:
> >>
> >> My understanding is that on Linux, inproc is implemented using shared
> memory and ipc is implemented using named pipes. Is there a reason why
> inter-process communication via shared memory is not supported?
> >
> > I touched on this before:
> http://lists.zeromq.org/pipermail/zeromq-dev/2014-February/025128.html
> >
> > the eventfd notification across process boundaries works fine, but
> allocation and processing of messages (and pointers for that matter) in
> shared memory is likely hard because one cannot assume the arena be mapped
> at the same address in all participating processes; a lot of assumptions on
> pointers go out of the window if you go down that route, and overhead
> increases. It's more doable in C++ - boost.interprocesses addresses the
> issue but pretty hard in C.
> >
> > -m
> >
> >> _______________________________________________
> >> zeromq-dev mailing list
> >> zeromq-dev at lists.zeromq.org
> >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150711/97ffcccd/attachment.htm>
More information about the zeromq-dev
mailing list