develooper Front page | perl.perl5.porters | Postings from January 2001

RE: Does perl really need to use sigsetjmp? (18% performance hit)

Thread Previous | Thread Next
From:
Horsley Tom
Date:
January 9, 2001 04:05
Subject:
RE: Does perl really need to use sigsetjmp? (18% performance hit)
Message ID:
707033366258D411BC9C00805F0D91071B1C14@exchange.ccur.com
> >Hello, hello - any experts out there?  
> 
> Apparently not. I cannot at present think what sigsetjmp() gains 
> us. Do you have an guidelines which say "use sigsetjmp() if 
> your code does X?"

I'm no expert, but:

On most systems I know of, the guideline is what the name implies.
If you want to longjmp out of a signal handler, you need to use the
sig versions of the routines since there are signal frames and extra
process state cleanups that have to happen.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About