]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Switched the macro for getpid() to GetThreadGroupID() so that it would return
authorBradley Nicholes <bnicholes@apache.org>
Mon, 1 Oct 2001 20:43:24 +0000 (20:43 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Mon, 1 Oct 2001 20:43:24 +0000 (20:43 +0000)
a different value from the gettid() macro.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91224 13f79535-47bb-0310-9956-ffa450edef68

src/os/netware/os.h

index 46679756331a8c687809a8c640b28ddac2b78b28..39ab02f95bbc70b4f75d190eaa2aae90e41ac231 100644 (file)
@@ -113,7 +113,7 @@ typedef int tid_t;
 
 #define crypt(buf,salt)            (buf)
 #define sleep(t) delay(t*1000)
-#define getpid GetThreadID
+#define getpid() ((pid_t)GetThreadGroupID())
 #define gettid() ((tid_t)GetThreadID())
 /* Netware doesn't have symlinks so S_ISLNK is always false */
 #define S_ISLNK(m) 0