Package : perl-Linux-Pid > RPM : perl-Linux-Pid-0.40.0-25.mga10.i586.rpm

Basic items

Install
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 18KB
Arch i586
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()'.

Media information

Distribution release Mageia cauldron
Media name core-release
Media arch i586

Advanced items

Source RPM perl-Linux-Pid-0.40.0-25.mga10.src.rpm
Build time 2023-11-29 13:00:01
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie