This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
alarm() on Windows doesn't interrupt system calls
authorJan Dubois <jand@activestate.com>
Wed, 21 Jul 2010 00:38:47 +0000 (17:38 -0700)
committerJan Dubois <jand@activestate.com>
Wed, 21 Jul 2010 00:38:47 +0000 (17:38 -0700)
commit70f768d983ee29d493442c9fd8547be31839c971
tree902be7dd31859074eaaef681453a6bcf6d508e3d
parentcea2f1cbccab770a9cfecaf94cd0bcfefc1bcc72
alarm() on Windows doesn't interrupt system calls

alarm() on Windows is implemented using a timer that is checked in
win32_async_check(), so there is no way a SIGALRM can be raised while
Perl is blocking in a system call.
t/op/readline.t