summaryrefslogtreecommitdiff
path: root/test/testprocmutex.c
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-12-29 23:14:22 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-12-29 23:14:22 +0000
commit4f9f87c87fa9ec66b2574f14fa454099e6e0f17f (patch)
treeccd3de96eba5c37b36a3b2b4f2438d151757188a /test/testprocmutex.c
parent715322934f6467641f88031f401014ab02491962 (diff)
downloadlibapr-4f9f87c87fa9ec66b2574f14fa454099e6e0f17f.tar.gz
roll the extra apr_lock_create_np() functionality into apr_lock_create()
and get rid of apr_lock_create_np(); apr_lock_create() has a new parameter for specifying the lock mechanism (or APR_LOCK_DEFAULT to let APR choose) (same for apr_proc_mutex_create_np() and apr_proc_mutex_create()) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62684 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testprocmutex.c')
-rw-r--r--test/testprocmutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testprocmutex.c b/test/testprocmutex.c
index 92f62e2b3..645100228 100644
--- a/test/testprocmutex.c
+++ b/test/testprocmutex.c
@@ -104,7 +104,7 @@ static apr_status_t test_exclusive(const char *lockname)
printf("Exclusive lock test\n");
printf("%-60s", " Initializing the lock");
- s1 = apr_proc_mutex_create(&proc_lock, lockname, pool);
+ s1 = apr_proc_mutex_create(&proc_lock, lockname, APR_LOCK_DEFAULT, pool);
if (s1 != APR_SUCCESS) {
printf("Failed!\n");