diff options
author | Jeff Trawick <trawick@apache.org> | 2001-12-29 23:14:22 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2001-12-29 23:14:22 +0000 |
commit | 9ed254824f9894d847201f704e900d27230bf089 (patch) | |
tree | ccd3de96eba5c37b36a3b2b4f2438d151757188a /test/testprocmutex.c | |
parent | 34f882ca452ba86b0240376bbdfb15a94e2958de (diff) | |
download | apr-9ed254824f9894d847201f704e900d27230bf089.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: https://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.c | 2 |
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"); |