On Unix, Python now supports signal handling. The module
signal exports functions
alarm, which act similar to their Unix counterparts. The
module also exports the conventional names for the various signal
classes (also usable with
SIG_DFL. See the section on
signal in the Library
Reference Manual for more information.