--- - branch: MAIN date: Wed Feb 25 21:30:27 UTC 2009 files: - new: '1.1' old: '0' path: pkgsrc/sysutils/p5-Sys-SigAction/DESCR pathrev: pkgsrc/sysutils/p5-Sys-SigAction/DESCR@1.1 type: added - new: '1.1' old: '0' path: pkgsrc/sysutils/p5-Sys-SigAction/Makefile pathrev: pkgsrc/sysutils/p5-Sys-SigAction/Makefile@1.1 type: added - new: '1.1' old: '0' path: pkgsrc/sysutils/p5-Sys-SigAction/distinfo pathrev: pkgsrc/sysutils/p5-Sys-SigAction/distinfo@1.1 type: added id: 20090225T213027Z.f72bd7b1daba9b8739b50280c6812779e87cc46a log: | This 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(). module: pkgsrc subject: 'CVS commit: pkgsrc/sysutils/p5-Sys-SigAction' unixtime: '1235597427' user: sno