On Mon, Apr 4, 2011 at 5:51 AM, Pieter Hintjens <[email protected]> wrote:
> On Mon, Apr 4, 2011 at 4:24 AM, Brian Ledger <[email protected]> wrote:


> * It's profitable to map libzmq's API closely (including to keep
> zero-copy functionality) but it's also profitable to build
> abstractions on top.

Unfortunately implementing zero-copy in ocaml is impossible, AFAIK,
without blocking every other thread. If another thread makes an
allocation the GC might move the string you are trying to send.
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to