summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
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: