in reply to Interrupt Signal Handler
If you use a signal handler, do as little as possible in the handler, and try to avoid doing any action that requires Perl to allocate memory, or to call functions that are not reentrant.
This all sounds very low level, and very "out of Perl". And it is. Signals live at the C-level, and you really have to know what's going at the C-level to understand pre-5.8.0 signals.
You might want to read up on signals in Stevens' Advanced Programming in the UNIX Environment, IMO more useful than any Perl book if you want to understand the interaction between Perl and the underlaying system (the C-level).
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Interrupt Signal Handler
by bobn (Chaplain) on Jul 13, 2003 at 02:36 UTC |