Subject: | Perl does not cache getppid and $$ anymore |
From perl5160delta.pod:
$$ and "getppid()" no longer emulate POSIX semantics under LinuxThreads
The POSIX emulation of $$ and "getppid()" under the obsolete
LinuxThreads implementation has been removed. This only impacts users of
Linux 2.4 and users of Debian GNU/kFreeBSD up to and including 6.0, not
the vast majority of Linux installations that use NPTL threads.
This means that "getppid()", like $$, is now always guaranteed to return
the OS's idea of the current state of the process, not perl's cached
version of it.
So maybe this could also be documented in the module.