[zeromq-dev] How to exit a blocking Receive call cleanly?

mark manwoodvice at googlemail.com
Mon May 19 10:33:58 CEST 2014


I have a blocking Receive call that runs on a background thread for as long
as the logical endpoint has not be stopped. The call to terminate an
endpoint comes from a different thread, meaning the blocking Receive call
throws some kind of exception - ObjectDisposed, SEH or AccessViolation.

Is there a better pattern for this kind of setup? I'm using C# and clrzmq.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140519/673138cf/attachment.htm>


More information about the zeromq-dev mailing list