apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject APR_HAS_FILEBASED_LOCKS anyone?
Date Wed, 31 Jul 2002 16:41:28 GMT
Maybe (definitely) a better name is possible, but either way it would
be useful to have a symbol that apps could check to determine if they
need to allow users to specify lock file locations.

Index: srclib/apr/include/apr.h.in
===================================================================
RCS file: /home/cvs/apr/include/apr.h.in,v
retrieving revision 1.114
diff -u -r1.114 apr.h.in
--- srclib/apr/include/apr.h.in	24 Jul 2002 20:29:38 -0000	1.114
+++ srclib/apr/include/apr.h.in	31 Jul 2002 16:26:42 -0000
@@ -95,6 +95,8 @@
 #define APR_HAS_PROC_PTHREAD_SERIALIZE    @hasprocpthreadser@
 #define APR_HAS_RWLOCK_SERIALIZE          @hasrwlockser@
 
+#define APR_HAS_FILEBASED_LOCKS           (APR_HAS_FLOCK_SERIALIZE||APR_HAS_FCNTL_SERIALIZE)
+
 #define APR_PROCESS_LOCK_IS_GLOBAL        @proclockglobal@
 
 #define APR_HAVE_CORKABLE_TCP   @have_corkable_tcp@ 
Index: srclib/apr/include/apr.hnw
===================================================================
RCS file: /home/cvs/apr/include/apr.hnw,v
retrieving revision 1.19
diff -u -r1.19 apr.hnw
--- srclib/apr/include/apr.hnw	29 Jul 2002 22:30:52 -0000	1.19
+++ srclib/apr/include/apr.hnw	31 Jul 2002 16:26:42 -0000
@@ -158,6 +158,8 @@
 #define APR_HAS_PROC_PTHREAD_SERIALIZE    0
 #define APR_HAS_RWLOCK_SERIALIZE          0 
 
+#define APR_HAS_FILEBASED_LOCKS           0
+
 #define APR_HAS_LOCK_CREATE_NP            0
 
 #define APR_PROCESS_LOCK_IS_GLOBAL        1
Index: srclib/apr/include/apr.hw
===================================================================
RCS file: /home/cvs/apr/include/apr.hw,v
retrieving revision 1.97
diff -u -r1.97 apr.hw
--- srclib/apr/include/apr.hw	17 Jul 2002 05:15:17 -0000	1.97
+++ srclib/apr/include/apr.hw	31 Jul 2002 16:26:43 -0000
@@ -176,6 +176,8 @@
 #define APR_HAS_PROC_PTHREAD_SERIALIZE    0
 #define APR_HAS_RWLOCK_SERIALIZE          0
 
+#define APR_HAS_FILEBASED_LOCKS           0
+
 #define APR_HAS_LOCK_CREATE_NP            0
 
 #define APR_PROCESS_LOCK_IS_GLOBAL        0

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message