I thought windows doesn't "handle" SIGINT the way us in unix land expect?
http://msdn.microsoft.com/en-us/library/xdkz3x12(v=vs.110).aspx --d 2012/10/30 Pieter Hintjens <[email protected]>: > On Tue, Oct 30, 2012 at 6:31 AM, Balázs Varga <[email protected]> wrote: > >> I know this link,installing a handler is not a problem,make the blocing >> calls exit is the problem. > > Right. The problem for libzmq afair is twofold: one, the OS has to > interrupt the blocking call cleanly, which e.g. means in C not > allowing SIGINT to kill the process; and two, libzmq has to return > EINTR to the caller, which it does since release 2.1 or so. > > In some runtimes the first part doesn't happen, which suggests the > signal is being trapped elsewhere. I know it's been a long-standing > difficulty in pyzmq to get this right, so perhaps that's the place to > get more help on this. > > -Pieter > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
