[zeromq-dev] behavior or zmq

Thomas Rodgers rodgert at twrodgers.com
Thu Aug 21 16:03:29 CEST 2014


use the appropriate socket type (eg PAIR) connected over the 'inproc://'
transport to replace your queues, DO NOT share sockets between threads
(context is ok).  With PAIR you also have to arrange to call bind() before
the other thread calls connect().


On Thu, Aug 21, 2014 at 7:28 AM, Raju Kundhe <raju2082 at gmail.com> wrote:

> I want to know how will be the behavior of zmq ctx effect
> in posix threads !!
>
> I've an application which has threads and  message queues for
> inter-process communication.
> Now, I want to replace message queues with 'zmq' in threaded environment.
>
> what is the good approach to do so? or If I start doing this what are the
> main problem's I could face?
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140821/ccccb6c0/attachment.html>


More information about the zeromq-dev mailing list