summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2004-03-07 01:29:21 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2004-03-07 01:29:21 +0000
commit7a5b10c2ec4c6504397c3da3900b7c0010717834 (patch)
tree58f8e76e404aa71a51ea8982365c0d22492b7c82
parent1b8ee339db143c7b86b841221c502416a9d3c62a (diff)
downloadlibapr-7a5b10c2ec4c6504397c3da3900b7c0010717834.tar.gz
a fairly recent config fix changed default mutex mechanism from
sysvsem to cross-process pthread on AIX but sysvsem, which was the default on AIX thus far, is a better choice there; pthread mutexes have no sysdef advantages on AIX, and of course pthread mutexes are subject to deadlock when the holder segfaults so define sysvsem as the default mechanism rather than leaving it up to chance git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64942 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build/apr_hints.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/build/apr_hints.m4 b/build/apr_hints.m4
index 4d74412ee..c1f49dffa 100644
--- a/build/apr_hints.m4
+++ b/build/apr_hints.m4
@@ -62,6 +62,7 @@ if test "x$apr_preload_done" != "xyes" ; then
APR_ADDTO(CFLAGS, [-qHALT=E])
fi
APR_SETIFNULL(apr_sysvsem_is_global, [yes])
+ APR_SETIFNULL(apr_lock_method, [USE_SYSVSEM_SERIALIZE])
APR_ADDTO(LDFLAGS, [-Wl,-brtl])
;;
*-apollo-*)