Subject: | Please allow undef/EINTR behaviour |
It would be useful if there could be a (possibly non-default) mode that,
rather than $epoll->wait restarting on EINTR, it could return immediately.
Currently, I have to end every %SIG handler with a special die "EINTR";
and wrap the call to ->wait with
my $ret = eval { $epoll->wait( ... ) };
$ret = -1 if $@ eq "EINTR";
Having a mode where wait would return immediately instead of retrying
would simplify this, and perhaps improve performance too.
--
Paul Evans