develooper Front page | perl.perl5.porters | Postings from August 2002

Re: [PATCH] posixify getppid on linux-multithread

Thread Previous | Thread Next
August 8, 2002 18:52
Re: [PATCH] posixify getppid on linux-multithread
Message ID:
Rafael Garcia-Suarez <> wrote:
:Arthur Bergman wrote:
:> I would store it in ${^PPID} rather than a global PL_ppid variable.
:The same patch, implemented with ${^PPID} instead of PL_ppid.
:Note that ${^PPID} is defined only on linux/ithreads.

I'm not sure that I understand the choice of approach: given the
title of this thread, it would seem to me to make more sense to
make POSIX::getpp?id return the real pp?id regardless, and leave
the inbuilt functions to lie as currently.

If it makes sense to do it this way, why define $^PPID only under
linux/ithreads? If I want the real ppid I'd have thought it easier
to need only a single portable mechanism to get it.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About