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

Re: [PATCH] posixify getppid on linux-multithread

Thread Previous | Thread Next
From:
hv
Date:
August 29, 2002 05:56
Subject:
Re: [PATCH] posixify getppid on linux-multithread
Message ID:
200208291302.g7TD2Gr01292@crypt.compulink.co.uk
Rafael Garcia-Suarez <rgarciasuarez@free.fr> wrote:
:Here's a patch to implement a more POSIX-like behavior of getppid() on
:Linux; that is, return the same value from all threads.

Thanks, applied as #17798.

:Basically this patch optionally stores the ppid in a global PL_ppid
:variable. (alternative : store it in an undocumented ${^PPID} variable)

I don't like the idea of an undocumented global variable, so I've
gone for this patch as is for now.

Hugo

Thread Previous | Thread Next


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