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

Re: [PATCH] posixify getppid on linux-multithread

Thread Previous
Rafael Garcia-Suarez
August 7, 2002 04:07
Re: [PATCH] posixify getppid on linux-multithread
Message ID:
Arthur Bergman wrote:
> I would store it in ${^PPID} rather than a global PL_ppid variable.

That's the way I first implemented it, but then I thought that adding
optionally a hidden perl-level global variable was a bit kludgy.

Have you a rationale for avoiding PL_ppid ?

If I add ${^PPID}, should it be available everywhere (on platforms
that have getppid()) or only on linux-ithreads, where it's needed ?
(knowing that this variable doesn't need to have magic attached).

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