summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-11-23 15:30:06 +0000
committerMichael Meeks <michael.meeks@suse.com>2011-11-23 15:30:48 +0000
commitf1ef1ed6900fa2caf7c5997e8b764c3f82c0a125 (patch)
treed411465cb9206b5d7b1ec7bb7d54ebda79424c86 /sal
parent538190e0ea142d0a7da244809c66241379d4d91b (diff)
version information from Arnaud on deprecating the getpid workaround.
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/system.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/osl/unx/system.c b/sal/osl/unx/system.c
index 4041edbde42a..478fdaf520bb 100644
--- a/sal/osl/unx/system.c
+++ b/sal/osl/unx/system.c
@@ -205,6 +205,10 @@ int macxp_resolveAlias(char *path, int buflen)
/* The linux kernel thread implemention, always return the pid of the
thread subprocess and not of the main process. So we save the main
pid at startup
+ FIXME: when our Linux base-line is above:
+ + Linux kernel version 2.6.18 or higher; -> clone() for NTPL
+ + glibc2 version 2.5 or higher; -> NPTL
+ Then we get a working getpid() and can remove this hack.
*/
// Directly from libc.so.6, obviously missing from some unistd.h: