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

Re: [perl #20920] Segmentation fault ("Safe Signal" queue problem?)

Thread Previous | Thread Next
From:
Benjamin Goldberg
Date:
February 14, 2003 20:26
Subject:
Re: [perl #20920] Segmentation fault ("Safe Signal" queue problem?)
Message ID:
3E4DC41B.23E592E2@earthlink.net
Slaven Rezic wrote:
[snip]
> +           sigprocmask(SIG_BLOCK, &set, NULL);
> +#endif /* HAS_SIGPROCMASK */
>             (*PL_sighandlerp)(sig);
> +#if defined(HAS_SIGPROCMASK) && defined(PERL_BLOCK_SIGNALS)
> +           sigprocmask(SIG_UNBLOCK, &set, NULL);
> +#endif /* HAS_SIGPROCMASK */

Does this SIG_UNBLOCK code get called if (*PL_sighandlerp)(sig) die()s?


-- 
"So, who beat the clueless idiot today?"
"Well, we flipped for it, but when Kuno
 landed, he wasn't in any shape to fight."
"Next time, try flipping a *coin.*"

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