Package : perl-Linux-Pid > RPM : perl-Linux-Pid-0.40.0-25.mga10.src.rpm
Basic items
Name | perl-Linux-Pid |
Version | 0.40.0 |
Release | 25.mga10 |
URL | https://metacpan.org/release/Linux-Pid |
Group | Development/Perl |
Summary | Interface to Linux getpp?id functions |
Size | 6KB |
Arch | aarch64 |
License | GPL+ or Artistic |
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()'.
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()'.
Media information
Distribution release | Mageia cauldron |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2023-11-29 13:41:56 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |