[zeromq-dev] Recv hangs

Pieter Hintjens ph at imatix.com
Sun Oct 31 20:12:08 CET 2010


Are you using version 2.1. 0? If so, it hangs on zmq_term if there are
sockets open.

-Pieter
On 31 Oct 2010 20:01, "Cliff Stanford" <cliff at may.be> wrote:
> I have not tested this under any other platform yet but I'm posting here
> in the hope that someone will have a quick solution.
>
> I am using 0MQ on Linux (Fedora 11) under mono 2.4.3.1 using the clrzmq
> library.
>
> The problem I am encountering is that I have a background worker thread
> which calls socket.Recv and is expected to hang, waiting for a command.
> At program termination, this thread should terminate (IsBackground is
> true on the managed thread).
>
> However, the thread fails to terminate and thus the program fails to
> terminate, requiring a kill -KILL. The thread is actually hanging
> inside libzmq.dll.
>
> Is this expected behaviour? Should I devise a way to abort the thread?
> Or is it a bug in libzmq or in clrzmq?
>
> Thanks,
> Cliff.
>
> --
> Cliff Stanford
> Office: +44 845 0045 666 UK Mobile: +44 7973 616 666
> Home: +44 20 0222 1666 Spain Home: +34 952 587 666
> http://www.may.be/
> _______________________________________________
> 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/20101031/5aa1ecc7/attachment.htm>


More information about the zeromq-dev mailing list