Bug#684290: Bug#753641: ITP: liblinux-pid-perl -- wrapper around the getpid() and getppid() C functions
Guillem Jover
guillem at debian.org
Fri Jul 4 13:20:39 UTC 2014
Hi!
On Fri, 2014-07-04 at 12:21:15 +0200, gregor herrmann wrote:
> On Fri, 04 Jul 2014 10:09:12 +0200, Guillem Jover wrote:
> > With glibc and NPTL this module does not seem to make much sense, as
> > each different thread will have the same PID. If it was exposing the
> > Linux gettid() syscall then it would be the modern equivalent, but
> > that depends on the assumptions from the call sites and the expected
> > threading model, I suppose.
> >
> > I guess this is just a dependency from something else? Why not patch
> > it to use the native perl functions instead?
>
> Right, as noted in the third paragraph of the description, mod_perl
> wants it:
> https://bugs.debian.org/684290
> https://lists.debian.org/debian-perl/2014/07/msg00002.html ff.
> gregor, not opposed to a mod_perl patch as an alternative
Ok, so how about this non-tested patch? The test suite might need
patching too, but as I guess it was either not failing or being
ignored currently, I didn't touch it.
Thanks,
Guillem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conditional-linux-pid-module.patch
Type: text/x-diff
Size: 972 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140704/4ba864eb/attachment.patch>
More information about the pkg-perl-maintainers
mailing list