[zeromq-dev] how to receive a message into a static buffer?
Aamir M
intuitionist at gmail.com
Mon May 4 18:40:18 CEST 2009
Well the application I'm describing requires that the buffers be aligned on
a 128-byte boundary in memory. If the 0MQ allocated buffers can somehow be
coerced into this behavior then stealing those buffers could work.
On Mon, May 4, 2009 at 11:51 AM, Steven McCoy <steven.mccoy at miru.hk> wrote:
> 2009/5/4 Aamir M <intuitionist at gmail.com>:
> > Couldn't the copy
> > be eliminated in this way? I think this would be a very useful feature
> for
> > high performance streaming.
>
> A compromise could be to allow the application to steal a buffer from
> the API for later return to the API, beyond the next read/recv call.
>
> --
> Steve-o
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090504/37207994/attachment.htm>
More information about the zeromq-dev
mailing list