[zeromq-dev] Using zmq_ipc between threads?

Charles Remes lists at chuckremes.com
Thu Feb 21 17:22:29 CET 2013


Using IPC transport to talk between two threads works. I have used that technique myself. 

If you have a short code snippet that shows how it fails, please post it.

cr

On Feb 21, 2013, at 10:16 AM, Tobias Scharnberg <t.scharnberg at wenzel-elektronik.de> wrote:

> 
> Hi,
> maybe this is a really dumb question... but anyway. Can I use zmq_ipc 
> transport for exchanging messages between two threads? I've build 
> classes with router and dealer sockets which are connecting fine with 
> each other when used in different processes.
> Now I've tried to use them between two threads, because I didn't want to 
> exchange contexts for using inproc. But nothing seems to get through 
> between these two sockets from thread to thread?
> 
> Greetings,
> Tobias
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev




More information about the zeromq-dev mailing list