[zeromq-dev] [PATCH] Message atomicity problem in PUB fixed (issue 191)

Martin Sustrik sustrik at 250bpm.com
Wed Apr 27 12:49:59 CEST 2011


On 04/26/2011 07:50 PM, Pieter Hintjens wrote:

>> Martin, any chance you can patch&  test this change on the 2.1 branch?

I've said I won't have time to maintain the stable branches :(

What's the actual problem? Compile time bugs? Tests fail?

The logic of the patch pretty straightforward: Aside of active and 
passive pipes it adds 'eligible' pipes which are in principle active 
(able to accept messages) but the messages are not delivered to them, so 
as not to produce partial messages (messages with missing initial parts).

In addition to that, as a simplification, the former 'new_pipes' array 
is removed and new pipes are simply treated as 'eligible'.

Martin



More information about the zeromq-dev mailing list