summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-12-01 14:00:55 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-12-01 14:00:55 +0000
commitbd15aae18ded13155e8cbb82a08215e73dd295ff (patch)
tree4586da5ccd089ca1e5cab17200f90d38fc3b81ab /include
parentcbe05a532faefdae769b84c4c4c3578d83c03551 (diff)
downloadlibapr-bd15aae18ded13155e8cbb82a08215e73dd295ff.tar.gz
New config variable apr_process_lock_is_global specifies that the selected
inter-process lock method is sufficient for APR_LOCKALL (i.e., it blocks all threads and processes). For now, hints.m4 turns on this flag for OS/390. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60833 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/apr.h.in2
-rw-r--r--include/apr.hw2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/apr.h.in b/include/apr.h.in
index 5dcf8076e..0fcebb2a8 100644
--- a/include/apr.h.in
+++ b/include/apr.h.in
@@ -44,6 +44,8 @@
#define APR_USE_PROC_PTHREAD_SERIALIZE @procpthreadser@
#define APR_USE_PTHREAD_SERIALIZE @pthreadser@
+#define APR_PROCESS_LOCK_IS_GLOBAL @proclockglobal@
+
#define APR_USES_ANONYMOUS_SHM @anonymous_shm@
#define APR_USES_FILEBASED_SHM @filebased_shm@
#define APR_USES_KEYBASED_SHM @keybased_shm@
diff --git a/include/apr.hw b/include/apr.hw
index 785b007e6..975ae168f 100644
--- a/include/apr.hw
+++ b/include/apr.hw
@@ -139,6 +139,8 @@
#define APR_USE_PROC_PTHREAD_SERIALIZE 0
#define APR_USE_PTHREAD_SERIALIZE 0
+#define APR_PROCESS_LOCK_IS_GLOBAL 0
+
#define NO_USE_SIGACTION
#if APR_HAVE_SYS_TYPES_H