http://www.perlmonks.org?node_id=815524


in reply to Re: $SIG{ALRM} and windows vista?
in thread $SIG{ALRM} and windows vista?

Not true.

$ perl 815492.pl Enter your password: You timed out.

Signals for which there is a handler will interrupt I/O operations (at the OS level) even under safe signals. readline returns (with errno = EINTR) as soon as the signal is received, allowing the signal handler to be called within milliseconds even under safe signals.