Skip Menu |

This queue is for tickets about the Time-Out CPAN distribution.

Report information
The Basics
Id: 106842
Status: new
Priority: 0/
Queue: Time-Out

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.11
Fixed in: (no value)



Subject: Optionally use POSIX::sigaction for unsafe signals
By default, perl is using safe signals, which means that some operations won't be interrupted by signals, including SIGALRM. Details can be seen here: https://metacpan.org/pod/perlipc#Deferred-Signals-Safe-Signals A workaround here is to use unsafe signals here, e.g. by using POSIX::sigaction instead of a normal Perl signal handler. It would be nice if there was an option in Time::Out to use POSIX::sigaction. Of course not as the default, as it's "unsafe" after all.