You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2004/06/10 12:59:03 UTC
cvs commit: apr configure.in
jorton 2004/06/10 03:59:03
Modified: . configure.in
Log:
Revert accidental commit.
Revision Changes Path
1.587 +6 -1 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.586
retrieving revision 1.587
diff -d -w -u -r1.586 -r1.587
--- configure.in 10 Jun 2004 10:57:24 -0000 1.586
+++ configure.in 10 Jun 2004 10:59:03 -0000 1.587
@@ -1599,7 +1599,7 @@
# See which lock mechanism we'll select by default on this system.
# The last APR_DECIDE to execute sets the default.
# At this stage, we match the ordering in Apache 1.3
-# which is (highest to lowest): posixsem -> sysvsem -> fcntl -> flock
+# which is (highest to lowest): pthread -> posixsem -> sysvsem -> fcntl -> flock
#
APR_BEGIN_DECISION([apr_lock implementation method])
APR_IFALLYES(func:flock define:LOCK_EX,
@@ -1611,6 +1611,11 @@
APR_IFALLYES(header:semaphore.h func:sem_open func_sem_close dnl
func_sem_unlink func:sem_post func_sem_wait,
APR_DECIDE(USE_POSIXSEM_SERIALIZE, [POSIX sem_open()]))
+# note: the current APR use of shared mutex requires /dev/zero
+APR_IFALLYES(header:pthread.h define:PTHREAD_PROCESS_SHARED dnl
+ func:pthread_mutexattr_setpshared dnl
+ file:/dev/zero,
+ APR_DECIDE(USE_PROC_PTHREAD_SERIALIZE, [pthread mutex]))
if test "x$apr_lock_method" != "x"; then
APR_DECISION_FORCE($apr_lock_method)
fi