jim 2003/03/30 15:11:38
Modified: locks/unix global_mutex.c
Log:
We need to call apr_proc_mutex_child_init, which
is not a noop for some mutexes
Revision Changes Path
1.11 +4 -1 apr/locks/unix/global_mutex.c
Index: global_mutex.c
===================================================================
RCS file: /home/cvs/apr/locks/unix/global_mutex.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- global_mutex.c 6 Jan 2003 23:44:31 -0000 1.10
+++ global_mutex.c 30 Mar 2003 23:11:38 -0000 1.11
@@ -121,7 +121,10 @@
const char *fname,
apr_pool_t *pool)
{
- return APR_SUCCESS;
+ apr_status_t rv;
+
+ rv = apr_proc_mutex_child_init(&((*mutex)->proc_mutex), fname, pool);
+ return rv;
}
APR_DECLARE(apr_status_t) apr_global_mutex_lock(apr_global_mutex_t *mutex)