In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/3506daea5866a929e3679f0f37d5166884362eb3?hp=a3d78747dc6076a86b29e59f911247652002f29b>
- Log ----------------------------------------------------------------- commit 3506daea5866a929e3679f0f37d5166884362eb3 Author: Ãvar Arnfjörð Bjarmason <[email protected]> Date: Mon Apr 19 20:47:43 2010 +0100 Document prctl() via $0 assignment (7636ea95c5) in perldelta M pod/perl5130delta.pod commit 4207d19c588387e70524000ff324caaf2ca59f41 Author: Ãvar Arnfjörð Bjarmason <[email protected]> Date: Mon Apr 19 20:46:39 2010 +0100 Add =head2 to the perldelta change in da76b8593e M pod/perl5130delta.pod ----------------------------------------------------------------------- Summary of changes: pod/perl5130delta.pod | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/pod/perl5130delta.pod b/pod/perl5130delta.pod index 42a5dc7..a1a2d0e 100644 --- a/pod/perl5130delta.pod +++ b/pod/perl5130delta.pod @@ -30,6 +30,8 @@ XXX For a release on a stable branch, this section aspires to be: =head1 Core Enhancements +=head2 "safe signals" optimization + Signal dispatch has been moved from the runloop into control ops. This should give a few percent speed increase, and eliminates almost all of the speed penalty caused by the introduction of "safe signals" in 5.8.0. Signals should @@ -37,6 +39,15 @@ still be dispatched within the same statement as they were previously - if this is not the case, or it is possible to create uninterruptable loops, this is a bug, and reports are encouraged of how to recreate such issues. +=head2 Assignment to C<$0> sets the legacy process name with C<prctl()> on Linux + +On Linux the legacy process name will be set with L<prctl(2)>, in +addition to altering the POSIX name via C<argv[0]> as perl has done +since version 4.000. Now system utilities that read the legacy process +name such as ps, top and killall will recognize the name you set when +assigning to C<$0>. The string you supply will be cut off at 16 bytes, +this is a limitation imposed by Linux. + =head1 New Platforms XXX List any platforms that this version of perl compiles on, that previous -- Perl5 Master Repository
