1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-22 23:02:54 +03:00

Use GetCurrentThreadId, per Magnus.

This commit is contained in:
Bruce Momjian 2005-08-28 18:49:01 +00:00
parent 7319ab9a59
commit 8046c1c7e6

View File

@ -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 @@
HANDLE HANDLE
pthread_self() pthread_self()
{ {
return GetCurrentThread(); return GetCurrentThreadId();
} }
void void