> On 2 May 2002 00:52:01 -0000, [EMAIL PROTECTED] wrote: > > >rbb 02/05/01 17:52:01 > > > > Modified: include apr_portable.h > > locks/unix global_mutex.c > > Log: > > Add apr_os_get function for global_mutexes. > > > > Revision Changes Path > > 1.78 +19 -0 apr/include/apr_portable.h > > > > Index: apr_portable.h > > =================================================================== > > RCS file: /home/cvs/apr/include/apr_portable.h,v > > retrieving revision 1.77 > > retrieving revision 1.78 > > diff -u -r1.77 -r1.78 > > --- apr_portable.h 9 Apr 2002 06:56:55 -0000 1.77 > > +++ apr_portable.h 2 May 2002 00:52:01 -0000 1.78 > > @@ -74,6 +74,7 @@ > > #include "apr_file_io.h" > > #include "apr_network_io.h" > > #include "apr_errno.h" > > +#include "apr_global_mutex.h" > > #include "apr_proc_mutex.h" > > #include "apr_time.h" > > #include "apr_dso.h" > > @@ -216,6 +217,24 @@ > > }; > > > > typedef struct apr_os_sock_info_t apr_os_sock_info_t; > > + > > +#if APR_PROCESS_LOCK_IS_GLOBAL > > Shouldn't that be APR_PROC_MUTEX_IS_GLOBAL? I think > APR_PROCESS_LOCK_IS_GLOBAL is a hangover from the old lock API & > apr_global_mutex.h uses APR_PROC_MUTEX_IS_GLOBAL to decide if it's going > to > #define global -> proc mutexes.
Yeah, I guess it should. I didn't see that macro when I was writing the code. Can we remove the old one finally? Ryan