On 02/06/2011 06:14 AM, Saurav Mohapatra wrote:

> c) on the publisher side, using msg_init_data() with a noop_free() that
> allows me to reuse the data buffer again and overwrite the fields for
> msg index and send timestamp

That will lead to race conditions unless you have noop_free() 
synchronised with the code that re-uses the buffer in such a way that 
the buffer can't be reused before it is noop_free'd.

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to