On 13 January 2013 10:07, umeabot <buildsystem-dae...@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.

Reply via email to