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

Commitfc507eb

Browse files
committed
Don't pull in pthreads header files in this file because we never use them.
1 parenta256ea5 commitfc507eb

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

‎src/port/thread.c

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
99
*
10-
* $PostgreSQL: pgsql/src/port/thread.c,v 1.38 2008/01/01 19:46:00 momjian Exp $
10+
* $PostgreSQL: pgsql/src/port/thread.c,v 1.39 2008/04/22 13:06:57 mha Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -16,11 +16,6 @@
1616

1717
#include<pwd.h>
1818
#if defined(FRONTEND)&& defined(ENABLE_THREAD_SAFETY)
19-
#ifdefWIN32
20-
#include"pthread-win32.h"
21-
#else
22-
#include<pthread.h>
23-
#endif
2419
#endif
2520

2621

@@ -50,7 +45,7 @@
5045
*The current setup is to try threading in this order:
5146
*
5247
*use *_r function names if they exit
53-
*(*_THREADSAFE=ye)
48+
*(*_THREADSAFE=yes)
5449
*use non-*_r functions if they are thread-safe
5550
*
5651
*One thread-safe solution for gethostbyname() might be to use getaddrinfo().

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp