Skip to content

Commit fc507eb

Browse files
committed
Don't pull in pthreads header files in this file because we never use them.
1 parent a256ea5 commit fc507eb

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-
#ifdef WIN32
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy