]> granicus.if.org Git - postgresql/commitdiff
Use GetCurrentThreadId, per Magnus.
authorBruce Momjian <bruce@momjian.us>
Sun, 28 Aug 2005 18:49:01 +0000 (18:49 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 28 Aug 2005 18:49:01 +0000 (18:49 +0000)
src/interfaces/libpq/pthread-win32.c

index eb0862f1fa3cefb3eb3442402b2a71e9867baca4..fd2481cd78cc0420b084dbc60abaa8df57950ca9 100644 (file)
@@ -5,7 +5,7 @@
 *
 * Copyright (c) 2004-2005, PostgreSQL Global Development Group
 * IDENTIFICATION
-*      $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.8 2005/08/23 21:02:03 momjian Exp $
+*      $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.9 2005/08/28 18:49:01 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
@@ -17,7 +17,7 @@
 HANDLE
 pthread_self()
 {
-       return GetCurrentThread();
+       return GetCurrentThreadId();
 }
 
 void