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 /acconfig.h | |
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 'acconfig.h')
-rw-r--r-- | acconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h index c2a8fbd2a..967bd57f6 100644 --- a/acconfig.h +++ b/acconfig.h @@ -25,6 +25,11 @@ #undef USE_PROC_PTHREAD_SERIALIZE #undef USE_PTHREAD_SERIALIZE +#undef POSIXSEM_IS_GLOBAL +#undef SYSVSEM_IS_GLOBAL +#undef FCNTL_IS_GLOBAL +#undef FLOCK_IS_GLOBAL + #undef READDIR_IS_THREAD_SAFE #undef GETHOSTBYNAME_IS_THREAD_SAFE #undef GETHOSTBYADDR_IS_THREAD_SAFE |