trawick 2004/03/06 17:29:21
Modified: build apr_hints.m4
Log:
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
Revision Changes Path
1.58 +1 -0 apr/build/apr_hints.m4
Index: apr_hints.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_hints.m4,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- apr_hints.m4 24 Feb 2004 20:57:02 -0000 1.57
+++ apr_hints.m4 7 Mar 2004 01:29:21 -0000 1.58
@@ -62,6 +62,7 @@
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-*)