pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/p5-Sys-SigAction
Module Name: pkgsrc
Committed By: sno
Date: Wed Feb 25 21:30:27 UTC 2009
Added Files:
pkgsrc/sysutils/p5-Sys-SigAction: DESCR Makefile distinfo
Log Message:
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().
To generate a diff of this commit:
cvs rdiff -r0 -r1.1 pkgsrc/sysutils/p5-Sys-SigAction/DESCR \
pkgsrc/sysutils/p5-Sys-SigAction/Makefile \
pkgsrc/sysutils/p5-Sys-SigAction/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index