| 1 |
Source: liblinux-pid-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: Damyan Ivanov <[email protected]>, |
| 4 |
gregor herrmann <[email protected]> |
| 5 |
Section: perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
perl-xs-dev, |
| 9 |
perl:native |
| 10 |
Standards-Version: 3.9.5 |
| 11 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/liblinux-pid-perl |
| 12 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/liblinux-pid-perl.git |
| 13 |
Homepage: https://metacpan.org/release/Linux-Pid |
| 14 |
Testsuite: autopkgtest-pkg-perl |
| 15 |
|
| 16 |
Package: liblinux-pid-perl |
| 17 |
Architecture: any |
| 18 |
Depends: ${misc:Depends}, |
| 19 |
${perl:Depends}, |
| 20 |
${shlibs:Depends} |
| 21 |
Description: wrapper around the getpid() and getppid() C functions |
| 22 |
Perl already returns the PID and PPID in variables and builtins. Linux::Pid |
| 23 |
forces perl to call the underlying C functions getpid() and getppid(). |
| 24 |
. |
| 25 |
This is useful with multithreaded programs. Linux' C library, using the Linux |
| 26 |
thread model, returns different values of the PID and the PPID from different |
| 27 |
threads. |
| 28 |
. |
| 29 |
A known consumer of this functionality is Apache2::SizeLimit (in |
| 30 |
libapache2-mod-perl2). |