summaryrefslogtreecommitdiff
path: root/locks
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2009-11-21 14:37:10 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2009-11-21 14:37:10 +0000
commit3d973a38f5d887010ae60bcaa140643ed8b4d7e7 (patch)
tree8530b928d31e279ffbfc01cd0e696a9fed808d73 /locks
parent9076e76d58795ead88055c22cffefc920ccdf486 (diff)
downloadlibapr-3d973a38f5d887010ae60bcaa140643ed8b4d7e7.tar.gz
add missing apr_global_mutex_lockfile(), corresponding to
apr_proc_mutex_lockfile() git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@882915 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks')
-rw-r--r--locks/unix/global_mutex.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/locks/unix/global_mutex.c b/locks/unix/global_mutex.c
index c5ff938c7..c0b6c3d35 100644
--- a/locks/unix/global_mutex.c
+++ b/locks/unix/global_mutex.c
@@ -175,6 +175,11 @@ APR_DECLARE(apr_status_t) apr_global_mutex_destroy(apr_global_mutex_t *mutex)
return apr_pool_cleanup_run(mutex->pool, mutex, global_mutex_cleanup);
}
+APR_DECLARE(const char *) apr_global_mutex_lockfile(apr_global_mutex_t *mutex)
+{
+ return apr_proc_mutex_lockfile(mutex->proc_mutex);
+}
+
APR_PERMS_SET_IMPLEMENT(global_mutex)
{
apr_status_t rv;