OSDN Git Service

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 eb0862f..fd2481c 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