Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3b85fc3

Browse files
committed
Update pthread_self() on Win32 to return DWORD.
1 parenta78a530 commit3b85fc3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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.9 2005/08/2818:49:01 momjian Exp $
8+
*$PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.10 2005/08/2821:42:28 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -14,7 +14,7 @@
1414
#include<windows.h>
1515
#include"pthread-win32.h"
1616

17-
HANDLE
17+
DWORD
1818
pthread_self()
1919
{
2020
returnGetCurrentThreadId();

‎src/interfaces/libpq/pthread-win32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ typedef ULONG pthread_key_t;
55
typedefHANDLEpthread_mutex_t;
66
typedefintpthread_once_t;
77

8-
HANDLEpthread_self();
8+
DWORDpthread_self();
99

1010
voidpthread_setspecific(pthread_key_t,void*);
1111
void*pthread_getspecific(pthread_key_t);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp