On Mon, Oct 29, 2012 at 9:06 PM, Balázs Varga <[email protected]> wrote:

> How is it solved in other bindings? I think it can be a windows issue, but
> not sure, haven't tried it on other OS yet.

Libzmq doesn't install any handler, indeed. So a signal may interrupt
the blocking call, or may kill the process. The text in the Guide
you're quoting quite clearly says you have to install your own signal
handler to catch SIGINT.

The second issue, which you're presumably hitting, is that some
language runtimes may do their own signal handling so that libzmq
simply never gets the signal, and blocking calls never exit.

Perhaps this may help:
http://stackoverflow.com/questions/1000223/how-do-i-handle-ctrlc-in-a-delphi-console-application

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

Reply via email to