[zeromq-dev] 0MQ - message lost and crash
ph at imatix.com
Fri Aug 20 13:15:33 CEST 2010
On Fri, Aug 20, 2010 at 10:57 AM, Pieter Hintjens <ph at imatix.com> wrote:
> The only safe way to send information from one thread to another is to
> send a message. I'm writing a version of your code, in C, which does
> this. You can try anyhow: use another pair of sockets, PUSH from the
> recvThread and PULL in the main.
Investigating further, there seem to be problems using PUSH/PULL
(=DOWNSTREAM/UPSTREAM) from multiple threads in one process.
I've raised an issue: http://github.com/zeromq/zeromq2/issues/#issue/49
iMatix - www.imatix.com
More information about the zeromq-dev