Path to this page:
./
sysutils/p5-Sys-SigAction,
Perl extension for Consistent Signal Handling
Branch: pkgsrc-2020Q1,
Version: 0.23nb2,
Package name: p5-Sys-SigAction-0.23nb2,
Maintainer: pkgsrc-usersThis module implements set_sig_handler(), which sets up a signal handler and
(optionally) returns an object which causes the signal handler to be reset
to the previous value, when it goes out of scope.
Also implemented is timeout_call() which takes a timeout value and a code
reference, and executes the code reference wrapped with an alarm timeout.
Finally, two convenience routines are defined which allow one to get the
signal name from the number -- sig_name(), and get the signal number from
the name -- sig_number().
Master sites: (Expand)
SHA1: 451c7c986a905d215a6517cf8fb85b4223e0b0ff
RMD160: bf73dcb452beb0eea87ac71b77027d360b65aed7
Filesize: 25.021 KB
Version history: (Expand)
- (2020-04-20) Package has been reborn
- (2020-04-19) Package added to pkgsrc.se, version p5-Sys-SigAction-0.23nb2 (created)