Skip to content
Snippets Groups Projects
Commit 8046c1c7 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Use GetCurrentThreadId, per Magnus.

parent 7319ab9a
Branches
Tags
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* Copyright (c) 2004-2005, PostgreSQL Global Development Group * Copyright (c) 2004-2005, PostgreSQL Global Development Group
* IDENTIFICATION * 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 @@ ...@@ -17,7 +17,7 @@
HANDLE HANDLE
pthread_self() pthread_self()
{ {
return GetCurrentThread(); return GetCurrentThreadId();
} }
void void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment