[zeromq-dev] Throttling publisher rates by using ZMQ_HWM doesn't work

Martin Sustrik sustrik at 250bpm.com
Mon Feb 7 11:42:46 CET 2011

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.


More information about the zeromq-dev mailing list