Commit 8046c1c7 authored by Bruce Momjian's avatar Bruce Momjian

Use GetCurrentThreadId, per Magnus.

parent 7319ab9a
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment