Group :: Development/Perl
RPM: perl-Linux-Pid
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Current version: 0.04-alt4.2
Build date: 24 january 2019, 12:37 ( 274.2 weeks ago )
Size: 6332 b
Home page: http://search.cpan.org/dist/Linux-Pid/
License: GPL or Artistic
Summary: Get the native PID and the PPID on Linux
Description:
List of contributors List of rpms provided by this srpm:
ACL:
Build date: 24 january 2019, 12:37 ( 274.2 weeks ago )
Size: 6332 b
Home page: http://search.cpan.org/dist/Linux-Pid/
License: GPL or Artistic
Summary: Get the native PID and the PPID on Linux
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()'.
Current maintainer: Igor Vlasenko 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()'.
List of contributors List of rpms provided by this srpm:
- perl-Linux-Pid
- perl-Linux-Pid-debuginfo