diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-11-23 15:30:06 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-11-23 15:30:48 +0000 |
commit | f1ef1ed6900fa2caf7c5997e8b764c3f82c0a125 (patch) | |
tree | d411465cb9206b5d7b1ec7bb7d54ebda79424c86 /sal/osl/unx/system.c | |
parent | 538190e0ea142d0a7da244809c66241379d4d91b (diff) |
version information from Arnaud on deprecating the getpid workaround.
Diffstat (limited to 'sal/osl/unx/system.c')
-rw-r--r-- | sal/osl/unx/system.c | 4 |
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: |