[zeromq-dev] inproc: passing an object pointer between threads causing datarace?? (3.2.2 stable release)

Pieter Hintjens ph at imatix.com
Thu Nov 29 18:16:57 CET 2012


On Thu, Nov 29, 2012 at 4:42 PM, Kah-Chan Low <kahchanlow at yahoo.com> wrote:

> Doesn't zmq_send(), which is called by socket_t::send(), make a copy of
> whatever message that is passed in before returning?

You're right, sorry, this does copy the buffer. I was confusing it
with the other send functions which don't copy the buffer.

-Pieter



More information about the zeromq-dev mailing list