Skip to content

Commit 8046c1c

Browse files
committed
Use GetCurrentThreadId, per Magnus.
1 parent 7319ab9 commit 8046c1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/libpq/pthread-win32.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 2004-2005, PostgreSQL Global Development Group
77
* IDENTIFICATION
8-
* $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.8 2005/08/23 21:02:03 momjian Exp $
8+
* $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.9 2005/08/28 18:49:01 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -17,7 +17,7 @@
1717
HANDLE
1818
pthread_self()
1919
{
20-
return GetCurrentThread();
20+
return GetCurrentThreadId();
2121
}
2222

2323
void

0 commit comments

Comments
 (0)