From: Jarkko Hietaniemi Date: Tue, 8 Apr 2003 04:42:05 +0000 (+0000) Subject: Few more words about safe/unsafe signals. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=45c0772f5bfdb04cae12ed9cd75ccf427acaa981;p=p5sagit%2Fp5-mst-13.2.git Few more words about safe/unsafe signals. p4raw-id: //depot/perl@19164 --- diff --git a/pod/perlipc.pod b/pod/perlipc.pod index b743d4d..96cfa8c 100644 --- a/pod/perlipc.pod +++ b/pod/perlipc.pod @@ -370,7 +370,7 @@ there are un-waited-for completed child processes. If you want the old signal behaviour back regardless of possible memory corruption, set the environment variable C to -C<"unsafe">. +C<"unsafe"> (a new feature since Perl 5.8.1). =head1 Using open() for IPC diff --git a/pod/perlrun.pod b/pod/perlrun.pod index bb403b8..2befda4 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -1097,7 +1097,7 @@ L and in F in the Perl source distribution. In Perls 5.8.1 and later. If set to C the pre-Perl-5.8.0 signals behaviour (immediate but unsafe) is restored. If set to -C the safe signals are used. +C the safe (or deferred) signals are used. See L. =item PERL_UNICODE diff --git a/pod/perlvar.pod b/pod/perlvar.pod index df456cb..571953f 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -1344,6 +1344,10 @@ this: See L. +The delivery policy of signals changed in Perl 5.8.0 from immediate +(also known as "unsafe") to deferred, also known as "safe signals". +See L for more information. + Certain internal hooks can be also set using the %SIG hash. The routine indicated by C<$SIG{__WARN__}> is called when a warning message is about to be printed. The warning message is passed as the first