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

Re: [PATCH] posixify getppid on linux-multithread

Thread Previous
From:
Rafael Garcia-Suarez
Date:
August 7, 2002 04:07
Subject:
Re: [PATCH] posixify getppid on linux-multithread
Message ID:
3D50FE5E.1090409@hexaflux.com
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About