Signal Handler ignored on Windows NT

Ken Pier pier at parc.xerox.com
Tue Oct 19 19:51:57 EDT 1999


We are using signal.signal(signal.SIGINT, handler) to set a signal
handler for ControlC interrupts.  This works on UNIX (Solaris2.6) and on
NT if our program is interrupted during time.sleep().  However, if it is
interrupted during a select call, the handler is called on UNIX but not
on NT.

Particulars: python1.5.2 on Sun Solaris2.6 and the compiled version out
of py152.exe on NT 4.0, Service Pack 5.

Advice?

--
Ken Pier
Xerox PARC
"Nothing would ever be accomplished
were it not for unwarranted optimism."






More information about the Python-list mailing list