Skip to content

Commit

Permalink
We need to call apr_proc_mutex_child_init, which
Browse files Browse the repository at this point in the history
is not a noop for some mutexes


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64456 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
jimjag committed Mar 30, 2003
1 parent 6374cf1 commit e0ef709
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion locks/unix/global_mutex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e0ef709

Please sign in to comment.