When I share the context between threads before creating a socket, I set the 
actual context manually

        ZContext ctx = new ZContext ();
        ctx.setContext (ZMQ.context (1));


Thanks
Min

On Nov 16, 2012, at 10:11 AM, Pieter Hintjens <p...@imatix.com> wrote:

> On Fri, Nov 16, 2012 at 7:13 AM, Peter Friend <pfri...@gehrytech.com> wrote:
> 
>> I am not sure why the context is not created at this point, but it can cause
>> problems
> 
> It's a workaround for 0MQ/2.x's API, where you have to specify the
> iothreads when you create the context.
> 
> For 0MQ/3.2 and forward this workaround isn't needed any longer. Other
> bindings (like CZMQ) have the same workaround and IMO it'll be needed
> until 2.x is fully deprecated.
> 
> -Pieter
> _______________________________________________
> 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