Handling and propagating signals
David Cantrell
david at cantrell.org.uk
Fri Feb 2 19:24:08 GMT 2007
On Thu, Feb 01, 2007 at 01:17:12PM -0500, bah at longitude.com wrote:
> Two thoughts. First, what happens if you resend the signal to -$$ in the
> signal handler? Ought this not propagate the signal to all processes in
> your process group?
I was muttering about that in the pub with people last night.
Apparently relying on process groups to work properly is a no-no.
The most reliable way would seem to be fork/exec and waitpid.
--
David Cantrell | Official London Perl Mongers Bad Influence
When a man is tired of London, he is tired of life
-- Samuel Johnson
More information about the london.pm
mailing list