summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjim <jim@13f79535-47bb-0310-9956-ffa450edef68>2003-03-30 23:11:38 +0000
committerjim <jim@13f79535-47bb-0310-9956-ffa450edef68>2003-03-30 23:11:38 +0000
commit347ac4ecfb7e48cfa5e62b5872d7e424f00ee536 (patch)
tree158691bf44b0a6cb1519383fe3774660709c556e
parentd6013c029045f0ce7482c2ebd98b2232d7db6378 (diff)
downloadlibapr-347ac4ecfb7e48cfa5e62b5872d7e424f00ee536.tar.gz
We need to call apr_proc_mutex_child_init, which
is not a noop for some mutexes git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64456 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--locks/unix/global_mutex.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/locks/unix/global_mutex.c b/locks/unix/global_mutex.c
index f288584d4..9ee0f20de 100644
--- a/locks/unix/global_mutex.c
+++ b/locks/unix/global_mutex.c
@@ -121,7 +121,10 @@ APR_DECLARE(apr_status_t) apr_global_mutex_child_init(
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)