[Mageia-dev] [changelog] [RPM] cauldron core/release perl-Linux-Pid-0.40.0-2.mga3

Thierry Vignaud thierry.vignaud at gmail.com
Sun Jan 13 11:08:12 CET 2013


On 13 January 2013 10:07, umeabot <buildsystem-daemon at mageia.org> wrote:
> Description :
> Why should one use a module to get the PID and the PPID of a process where
> there are the '$$' variable and the 'getppid()' builtin ? (Not mentioning
> the equivalent 'POSIX::getpid()' and 'POSIX::getppid()' functions.)
>
> In fact, this is useful on Linux, with multithreaded programs. Linux' C
> library, using the linux thread model, returns different values of the PID
> and the PPID from different threads. (Other thread models such as NPTL
> don't have the same behaviour). This module forces perl to call the
> underlying C functions 'getpid()' and 'getppid()'.

given that:
1) this module is not maintained (last release in 2006)
2) NPTL is the default since switching to kernel-2.6/glibc-2.4, aka
since mdv2007.1,

Shouldn't we investigate if apache-mod_perl really needs this?
Note that RH's mod_perl now requires it too since last year.


More information about the Mageia-dev mailing list