[zeromq-dev] Using zmq_ipc between threads?
Tobias Scharnberg
t.scharnberg at wenzel-elektronik.de
Thu Feb 21 17:27:04 CET 2013
Thanks for the answers! So it should work...
My test code is too long to post it here atm. I'll have to reduce it and
maybe I get to the problem myself, else I'll happily return here.
Am 21.02.2013 17:23, schrieb Pieter Hintjens:
> On Thu, Feb 21, 2013 at 5:16 PM, Tobias Scharnberg
> <t.scharnberg at wenzel-elektronik.de> wrote:
>
>> 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?
> IPC works between threads, yes. Do you have a simple test case?
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
--
Tobias Scharnberg
Software Public Address Systems
Tel. +49 4101 69699-20 :: Fax +49 4101 69699-18
t.scharnberg at wenzel-elektronik.de
WENZEL Elektronik GmbH :: Gehrstücken 7 :: 25421 Pinneberg, Germany
www.wenzel-elektronik.de
Sitz und Registergericht: Pinneberg, HRB 9316 PI
USt-IdNr.: DE 812946778
Geschäftsführung: Dipl.Ing. Jörg Simon, Dr. Volker Henkel
More information about the zeromq-dev
mailing list