[zeromq-dev] multipart messages in a realtime environment
Michael Haberler
mail17 at mah.priv.at
Thu Apr 17 22:54:59 CEST 2014
Goswin,
Am 17.04.2014 um 11:24 schrieb Goswin von Brederlow <goswin-v-b at web.de>:
> On Wed, Apr 16, 2014 at 08:07:27PM +0200, Michael Haberler wrote:
>> we're using zeroMQ in machinekit (formerly LinuxCNC)
>>
>> to retain the end-to-end principle, we need to be able to send multipart messages to and from RT threads
>>
>> that isnt possible with libzmq code since it's C++ and uses dynamic memory allocation
>>
>> the code which we'll be using is based on a lock-free ringbuffer in shared memory (ring_*), and a multipart framing layer on top of that (bring_*): http://psha.org.ru/cgit/psha/ring/?h=wip-buffer
>>
>> a proxy thread at the RT boundary translates from zmq to ringbuffer framing and back
>>
>> just in case somebody has a similar requirement
>>
>> - Michael
>
> doesn't zero-copy fix that?
I dont understand what are you are suggesting, could you elaborate?
- Michael
More information about the zeromq-dev
mailing list