diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2002-05-09 18:56:43 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2002-05-09 18:56:43 +0000 |
commit | cc470704f31a83ed42bb1b550fc8872a33c8180d (patch) | |
tree | 5f6a97db2fc0f8c73cab710b014b53224f76b049 /build/apr_hints.m4 | |
parent | 8411aca0f9fe26bac16f13eb84f4ab6c2bbc2844 (diff) | |
download | libapr-cc470704f31a83ed42bb1b550fc8872a33c8180d.tar.gz |
Fix a problem with global mutexes on OS/390 when something other
than the default mechanism (fcntl) was used. The mutexes didn't
necessarily block out other threads in the same process.
This commit also adds the infrastructure to allow any individual
process mutex mechanism to be declared as global for a platform
so that APR doesn't wastefully use an extra thread mutex for any
operations on a global mutex based on that process mutex
mechanism.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63376 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/apr_hints.m4')
-rw-r--r-- | build/apr_hints.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/apr_hints.m4 b/build/apr_hints.m4 index e7f4b036e..d50b79bf0 100644 --- a/build/apr_hints.m4 +++ b/build/apr_hints.m4 @@ -355,7 +355,7 @@ dnl # Not a problem in 10.20. Otherwise, who knows? ;; *-ibm-os390) APR_SETIFNULL(apr_lock_method, [USE_SYSVSEM_SERIALIZE]) - APR_SETIFNULL(apr_process_lock_is_global, [yes]) + APR_SETIFNULL(apr_sysvsem_is_global, [yes]) APR_SETIFNULL(apr_gethostbyname_is_thread_safe, [yes]) APR_SETIFNULL(apr_gethostbyaddr_is_thread_safe, [yes]) APR_ADDTO(CPPFLAGS, [-U_NO_PROTO -DPTHREAD_ATTR_SETDETACHSTATE_ARG2_ADDR -DPTHREAD_SETS_ERRNO -DPTHREAD_DETACH_ARG1_ADDR -DSIGPROCMASK_SETS_THREAD_MASK -DTCP_NODELAY=1]) |