liblinux-pid-perl

Wrapper around the getpid() and getppid() c functions
  https://metacpan.org/release/Linux-Pid
  0
  no reviews



Perl already returns the pid and ppid in variables and builtins. linux::pid forces perl to call the underlying c functions getpid() and getppid().

this is useful with multithreaded programs. linux' c library, using the linux thread model, returns different values of the pid and the ppid from different threads.

a known consumer of this functionality is apache2::sizelimit (in libapache2-mod-perl2).