Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
fc507eb0
Commit
fc507eb0
authored
Apr 22, 2008
by
Magnus Hagander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't pull in pthreads header files in this file because we never use them.
parent
a256ea50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
src/port/thread.c
src/port/thread.c
+2
-7
No files found.
src/port/thread.c
View file @
fc507eb0
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
*
*
* $PostgreSQL: pgsql/src/port/thread.c,v 1.3
8 2008/01/01 19:46:00 momjian
Exp $
* $PostgreSQL: pgsql/src/port/thread.c,v 1.3
9 2008/04/22 13:06:57 mha
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -16,11 +16,6 @@
...
@@ -16,11 +16,6 @@
#include <pwd.h>
#include <pwd.h>
#if defined(FRONTEND) && defined(ENABLE_THREAD_SAFETY)
#if defined(FRONTEND) && defined(ENABLE_THREAD_SAFETY)
#ifdef WIN32
#include "pthread-win32.h"
#else
#include <pthread.h>
#endif
#endif
#endif
...
@@ -50,7 +45,7 @@
...
@@ -50,7 +45,7 @@
* The current setup is to try threading in this order:
* The current setup is to try threading in this order:
*
*
* use *_r function names if they exit
* use *_r function names if they exit
* (*_THREADSAFE=ye)
* (*_THREADSAFE=ye
s
)
* use non-*_r functions if they are thread-safe
* use non-*_r functions if they are thread-safe
*
*
* One thread-safe solution for gethostbyname() might be to use getaddrinfo().
* One thread-safe solution for gethostbyname() might be to use getaddrinfo().
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment