From cvs-return-5859-apmail-apr-cvs-archive=apr.apache.org@apr.apache.org Thu Jun 10 10:59:06 2004 Return-Path: Delivered-To: apmail-apr-cvs-archive@www.apache.org Received: (qmail 15493 invoked from network); 10 Jun 2004 10:59:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Jun 2004 10:59:06 -0000 Received: (qmail 88674 invoked by uid 500); 10 Jun 2004 10:59:06 -0000 Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 88567 invoked by uid 500); 10 Jun 2004 10:59:05 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 88554 invoked by uid 99); 10 Jun 2004 10:59:05 -0000 Date: 10 Jun 2004 10:59:03 -0000 Message-ID: <20040610105903.15414.qmail@minotaur.apache.org> From: jorton@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr configure.in X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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