[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: [ID 19991229.003] perl 5.005_03 core dumps -- singal
Nick Ing-Simmons writes:
> >Perl core dumps shortly after I send an interrupt signal to my program.
> 
> Signals can do that to any perl. Only the most trivial of signal handlers
> are safe.
This is wrong.  No signal handlers are safe.
Hope this helps (why should I repeat it again and again?),
Ilya
P.S.
> There are various approaches to making signals usable which 
> may be in the development track. 
I wonder why not we add something like
  $SIG{CHLD} = [inc => \$counter, set => [\$foo, 13], pid => \$pid];
and avoid all the problems with a Perl function call altogether...
- References to:
 - 
Nick Ing-Simmons <nick@ing-simmons.net>
 
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]