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

Commit925b32b

Browse files
committed
Enable thread safety
Enable thread safety on all platforms. This will either be followed upby a more extensive patch, or reverted, depending on the build farmresults.
1 parentb291c0f commit925b32b

File tree

2 files changed

+2
-36
lines changed

2 files changed

+2
-36
lines changed

‎configure

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,7 +1497,7 @@ Optional Features:
14971497
--enable-dtrace build with DTrace support
14981498
--enable-depend turn on automatic dependency tracking
14991499
--enable-cassert enable assertion checks (for debugging)
1500-
--enable-thread-safety make client libraries thread-safe
1500+
--disable-thread-safety make client libraries thread-safe
15011501
--enable-thread-safety-force
15021502
force thread-safety despite thread test failure
15031503
--disable-float4-byval disable float4 passed by value
@@ -4859,34 +4859,6 @@ IFS=$ac_save_IFS
48594859
#
48604860
{ $as_echo "$as_me:$LINENO: checking allow thread-safe client libraries" >&5
48614861
$as_echo_n "checking allow thread-safe client libraries... " >&6; }
4862-
if test "$PORTNAME" != "win32"; then
4863-
4864-
4865-
# Check whether --enable-thread-safety was given.
4866-
if test "${enable_thread_safety+set}" = set; then
4867-
enableval=$enable_thread_safety;
4868-
case $enableval in
4869-
yes)
4870-
:
4871-
;;
4872-
no)
4873-
:
4874-
;;
4875-
*)
4876-
{ { $as_echo "$as_me:$LINENO: error: no argument expected for --enable-thread-safety option" >&5
4877-
$as_echo "$as_me: error: no argument expected for --enable-thread-safety option" >&2;}
4878-
{ (exit 1); exit 1; }; }
4879-
;;
4880-
esac
4881-
4882-
else
4883-
enable_thread_safety=no
4884-
4885-
fi
4886-
4887-
4888-
else
4889-
# Win32 should always use threads
48904862

48914863

48924864
# Check whether --enable-thread-safety was given.
@@ -4912,7 +4884,6 @@ else
49124884
fi
49134885

49144886

4915-
fi
49164887

49174888

49184889

‎configure.in

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.613 2009/11/30 16:50:38 momjian Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.614 2009/12/01 23:02:44 momjian Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -558,12 +558,7 @@ IFS=$ac_save_IFS
558558
# Enable thread-safe client libraries
559559
#
560560
AC_MSG_CHECKING([allow thread-safe client libraries])
561-
if test "$PORTNAME" != "win32"; then
562-
PGAC_ARG_BOOL(enable, thread-safety, no, [make client libraries thread-safe])
563-
else
564-
# Win32 should always use threads
565561
PGAC_ARG_BOOL(enable, thread-safety, yes, [make client libraries thread-safe])
566-
fi
567562

568563
PGAC_ARG_BOOL(enable, thread-safety-force, no, [force thread-safety despite thread test failure])
569564
if test "$enable_thread_safety" = yes -o \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp