[zeromq-dev] Recv hangs
Cliff Stanford
cliff at may.be
Sun Oct 31 20:00:39 CET 2010
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/
More information about the zeromq-dev
mailing list