On Wed, Jun 30, 2010 at 10:12 AM, Pieter Hintjens <[email protected]> wrote:
> On Wed, Jun 30, 2010 at 4:23 PM, Derek Developer
> <[email protected]> wrote:
>>
>> Is there any way to break the blocking of zmq_recv() without firing up a 
>> client and sending a message like "QUIT SERVER"?

This is an issue we are dealing with as well.

> You can destroy the context object from another thread, that will
> cause all blocking calls to return.  You will need to either shutdown
> then, or create a new context and new sockets.

Is this part of the official API, or just something that happens to
work?  Because this is a subtle issue, if it is part of the API, we
may want to mention it in the docs.

Cheers,

Brian


> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
[email protected]
[email protected]
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to