develooper Front page | perl.perl5.porters | Postings from October 2003

Re: [perl #24174] perl-5.8.0-55 exit bug

Doug Sibley
October 13, 2003 04:00
Re: [perl #24174] perl-5.8.0-55 exit bug
Message ID:

says "May be interrupted if the process receives a signal such as
SIGALRM" (as do the O'Reilly series of perl books) which led me to
believe that I could sleep until I sent a SIGALRM at which point the
process would continue. 

You may wish to update either the behavior or comments of the sleep

- Doug

On Sat, 2003-10-11 at 09:20, Michael G Schwern wrote:
> Doesn't seem like one to me.  The program was killed by a SIGALRM and
> exited abnormally.  Your exit(0) is never reached.
> perlipc states that Perl "does the default thing" to handle a signal if
> you don't tell it otherwise.  The OS X (ie. BSD) signals(3) man page states 
> that the default action for SIGALRM is to terminate the process.
Doug Sibley <> Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About