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
9e66c3e6
Commit
9e66c3e6
authored
Feb 04, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move thread_test directory from /tools to /test so source-only tarballs
have the directory for the configure test.
parent
0e04982e
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
35 deletions
+14
-35
configure
configure
+7
-7
configure.in
configure.in
+5
-5
src/include/pg_config.h.in
src/include/pg_config.h.in
+0
-21
src/test/thread/Makefile
src/test/thread/Makefile
+1
-1
src/test/thread/README
src/test/thread/README
+0
-0
src/test/thread/thread_test.c
src/test/thread/thread_test.c
+1
-1
No files found.
configure
View file @
9e66c3e6
...
...
@@ -22753,13 +22753,13 @@ if test x"$template" != x"win32"
then
{
echo
"
$as_me
:
$LINENO
: WARNING:
*** Skipping thread test program. --enable-thread-safety-force was used.
*** Run the program in src/t
ools
/thread on the your machine and add
*** Run the program in src/t
est
/thread on the your machine and add
proper locking function calls to your applications to guarantee thread
safety.
"
>
&5
echo
"
$as_me
: WARNING:
*** Skipping thread test program. --enable-thread-safety-force was used.
*** Run the program in src/t
ools
/thread on the your machine and add
*** Run the program in src/t
est
/thread on the your machine and add
proper locking function calls to your applications to guarantee thread
safety.
"
>
&2
;
}
...
...
@@ -22782,11 +22782,11 @@ if test "$cross_compiling" = yes; then
echo
"
${
ECHO_T
}
maybe"
>
&6
{
echo
"
$as_me
:
$LINENO
: WARNING:
*** Skipping thread test program because of cross-compile build.
*** Run the program in src/t
ools
/thread on the target machine.
*** Run the program in src/t
est
/thread on the target machine.
"
>
&5
echo
"
$as_me
: WARNING:
*** Skipping thread test program because of cross-compile build.
*** Run the program in src/t
ools
/thread on the target machine.
*** Run the program in src/t
est
/thread on the target machine.
"
>
&2
;
}
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
...
...
@@ -22795,7 +22795,7 @@ _ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include "
$srcdir
/src/t
ools
/thread/thread_test.c"
#include "
$srcdir
/src/t
est
/thread/thread_test.c"
_ACEOF
rm
-f
conftest
$ac_exeext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_link
\"
"
)
>
&5
...
...
@@ -22824,7 +22824,7 @@ echo "${ECHO_T}no" >&6
***
*** You can use the configure option --enable-thread-safety-force
*** to force threads to be enabled. However, you must then run
*** the program in src/t
ools
/thread and add locking function calls
*** the program in src/t
est
/thread and add locking function calls
*** to your applications to guarantee thread safety.
"
>
&5
echo
"
$as_me
: error:
...
...
@@ -22833,7 +22833,7 @@ echo "$as_me: error:
***
*** You can use the configure option --enable-thread-safety-force
*** to force threads to be enabled. However, you must then run
*** the program in src/t
ools
/thread and add locking function calls
*** the program in src/t
est
/thread and add locking function calls
*** to your applications to guarantee thread safety.
"
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
...
...
configure.in
View file @
9e66c3e6
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.44
5 2006/02/04 00:42:54 petere
Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.44
6 2006/02/04 01:00:01 momjian
Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -1288,7 +1288,7 @@ if test x"$template" != x"win32"
then
AC_MSG_WARN([
*** Skipping thread test program. --enable-thread-safety-force was used.
*** Run the program in src/t
ools
/thread on the your machine and add
*** Run the program in src/t
est
/thread on the your machine and add
proper locking function calls to your applications to guarantee thread
safety.
])
...
...
@@ -1304,7 +1304,7 @@ _CFLAGS="$CFLAGS"
_LIBS="$LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS -DIN_CONFIGURE"
LIBS="$LIBS $PTHREAD_LIBS"
AC_TRY_RUN([#include "$srcdir/src/t
ools
/thread/thread_test.c"],
AC_TRY_RUN([#include "$srcdir/src/t
est
/thread/thread_test.c"],
[AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)
AC_MSG_ERROR([
...
...
@@ -1313,13 +1313,13 @@ AC_TRY_RUN([#include "$srcdir/src/tools/thread/thread_test.c"],
***
*** You can use the configure option --enable-thread-safety-force
*** to force threads to be enabled. However, you must then run
*** the program in src/t
ools
/thread and add locking function calls
*** the program in src/t
est
/thread and add locking function calls
*** to your applications to guarantee thread safety.
])],
[AC_MSG_RESULT(maybe)
AC_MSG_WARN([
*** Skipping thread test program because of cross-compile build.
*** Run the program in src/t
ools
/thread on the target machine.
*** Run the program in src/t
est
/thread on the target machine.
])])
CFLAGS="$_CFLAGS"
LIBS="$_LIBS"
...
...
src/include/pg_config.h.in
View file @
9e66c3e6
...
...
@@ -213,15 +213,6 @@
/* Define to 1 if you have the `crypto' library (-lcrypto). */
#undef HAVE_LIBCRYPTO
/* Define to 1 if you have the `cygipc' library (-lcygipc). */
#undef HAVE_LIBCYGIPC
/* Define to 1 if you have the `dl' library (-ldl). */
#undef HAVE_LIBDL
/* Define to 1 if you have the `dld' library (-ldld). */
#undef HAVE_LIBDLD
/* Define to 1 if you have the `eay32' library (-leay32). */
#undef HAVE_LIBEAY32
...
...
@@ -237,9 +228,6 @@
/* Define to 1 if you have the `ld' library (-lld). */
#undef HAVE_LIBLD
/* Define to 1 if you have the `m' library (-lm). */
#undef HAVE_LIBM
/* Define to 1 if you have the `nsl' library (-lnsl). */
#undef HAVE_LIBNSL
...
...
@@ -255,9 +243,6 @@
/* Define to 1 if you have the `resolv' library (-lresolv). */
#undef HAVE_LIBRESOLV
/* Define to 1 if you have the `socket' library (-lsocket). */
#undef HAVE_LIBSOCKET
/* Define to 1 if you have the `ssl' library (-lssl). */
#undef HAVE_LIBSSL
...
...
@@ -267,12 +252,6 @@
/* Define to 1 if you have the `unix' library (-lunix). */
#undef HAVE_LIBUNIX
/* Define to 1 if you have the `util' library (-lutil). */
#undef HAVE_LIBUTIL
/* Define to 1 if you have the `wsock32' library (-lwsock32). */
#undef HAVE_LIBWSOCK32
/* Define to 1 if you have the `z' library (-lz). */
#undef HAVE_LIBZ
...
...
src/t
ools
/thread/Makefile
→
src/t
est
/thread/Makefile
View file @
9e66c3e6
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 2003-2005, PostgreSQL Global Development Group
#
# $PostgreSQL: pgsql/src/t
ools/thread/Makefile,v 1.8 2005/01/01 20:44:34 tgl
Exp $
# $PostgreSQL: pgsql/src/t
est/thread/Makefile,v 1.1 2006/02/04 01:00:02 momjian
Exp $
#
#-------------------------------------------------------------------------
...
...
src/t
ools
/thread/README
→
src/t
est
/thread/README
View file @
9e66c3e6
File moved
src/t
ools
/thread/thread_test.c
→
src/t
est
/thread/thread_test.c
View file @
9e66c3e6
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/t
ools/thread/thread_test.c,v 1.41 2005/10/15 02:49:5
2 momjian Exp $
* $PostgreSQL: pgsql/src/t
est/thread/thread_test.c,v 1.1 2006/02/04 01:00:0
2 momjian Exp $
*
* This program tests to see if your standard libc functions use
* pthread_setspecific()/pthread_getspecific() to be thread-safe.
...
...
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