diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2004-03-07 01:30:24 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2004-03-07 01:30:24 +0000 |
commit | bafd2efb2b78eaee1c6843965230f5355767d548 (patch) | |
tree | d2b9359f0fa5a77c04b38cac5f99b20f95bd3dc4 /build | |
parent | 1d46d2efccd20c093ef0f0d502cf435e47b00181 (diff) | |
download | libapr-bafd2efb2b78eaee1c6843965230f5355767d548.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/branches/APR_0_9_BRANCH@64943 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r-- | build/apr_hints.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/apr_hints.m4 b/build/apr_hints.m4 index 98116f56b..74495f3c0 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-*) |