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 <raju2...@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@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to