diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-06-10 10:59:03 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-06-10 10:59:03 +0000 |
commit | 8154410bae7b46db6288abce260a1acabb969de3 (patch) | |
tree | 9982114a1a5ea8e58a5e29c5e7f053e2d6238005 /configure.in | |
parent | d4cf4787c0a8860253d80f2512534668da2e33ae (diff) | |
download | libapr-8154410bae7b46db6288abce260a1acabb969de3.tar.gz |
Revert accidental commit.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65180 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 9a0b9ab51..01f600490 100644 --- a/configure.in +++ b/configure.in @@ -1599,7 +1599,7 @@ APR_IFALLYES(header:pthread.h define:PTHREAD_PROCESS_SHARED dnl # 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(func:semget func:semctl define:SEM_UNDO, 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 |