[zeromq-dev] need help with linux platform
Pieter Hintjens
ph at imatix.com
Wed Feb 16 16:30:57 CET 2011
On Wed, Feb 16, 2011 at 4:22 PM, Chuck Remes <cremes.devlist at mac.com> wrote:
> Pieter, take a look at the subject heading. This *was* on linux. :)
You're right... for some reason my brain stopped parsing after "OS X"
> Here's a step-by-step explanation in pure 0mq terms to replicate.
>
> 1. On a single thread, have two 0mq sockets. SocketA is a PUB socket and SocketB is a SUB socket. SocketB should subscribe to everything.
> 2. Have SocketA do a non-blocking send for a few million messages in a tight loop. Do *not* allow SocketB any chance to recv until SocketA's loop is complete.
> 3. When SocketA's publishing is complete, let SocketB do a non-blocking recv until EAGAIN.
> 4. See if #2 or #3 fails.
OK, will try this now, thanks!.
-Pieter
More information about the zeromq-dev
mailing list