summaryrefslogtreecommitdiff
path: root/locks/beos/proc_mutex.c
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2003-06-07 19:45:10 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2003-06-07 19:45:10 +0000
commite171b9324b8f9ff93bb3ea53543f9face7dc5638 (patch)
tree8c275a9c3aa7fd5ebb74d59bf026dd93cec91693 /locks/beos/proc_mutex.c
parent41fe3b39aa4eb8869d3701e9411784d633ea2907 (diff)
downloadlibapr-e171b9324b8f9ff93bb3ea53543f9face7dc5638.tar.gz
Add proc_mutex_lockfile() for retrieving the name of the file
associated with a mutex. This is used in Apache to simplify the effort of getting permissions set properly on mutexes that will be created as root but used as non-root. For flock-based mutexes, chown() needs to be performed on the mutex file. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64531 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks/beos/proc_mutex.c')
-rw-r--r--locks/beos/proc_mutex.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/locks/beos/proc_mutex.c b/locks/beos/proc_mutex.c
index 405a0b15e..bf4d7c3e5 100644
--- a/locks/beos/proc_mutex.c
+++ b/locks/beos/proc_mutex.c
@@ -157,6 +157,11 @@ APR_DECLARE(apr_status_t) apr_proc_mutex_destroy(apr_proc_mutex_t *mutex)
return stat;
}
+APR_DECLARE(const char *) apr_proc_mutex_lockfile(apr_proc_mutex_t *mutex)
+{
+ return NULL;
+}
+
APR_DECLARE(const char *) apr_proc_mutex_name(apr_proc_mutex_t *mutex)
{
return "beossem";