[zeromq-dev] zmq_recv not firing while messages are being produced

Lucas Maxwell lucas at thecowsays.mu
Mon Apr 15 14:03:45 CEST 2013


Hi,

I'm working on a some code that generates a large volume of data and I'm
using zmq to push the data off to a forked process for further work. I've
run into a weird situation where the child process which is trying to
receive the messages doesn't receive any until the main process stops
producing them. To rule out any of my code causing issues I've taken
zguide/{psenvpub,psenvseb} (which work fine on their own) and combined them
into a fork setup to more closely mirror what I'm trying to achieve, but
I'm seeing the same situation where the messages aren't being received.

I feel like I'm missing something at the zmq level and what I'm trying to
do should be done a different way. Any help would be much appreciated.

OS: OSX 10.8
zmq version: 3.2.2
sample code: http://pastebin.com/ZXVsp8UH

Cheers,
Lucas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130415/051f1ecd/attachment.htm>


More information about the zeromq-dev mailing list