diff options
author | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 2001-12-29 10:03:39 +0000 |
---|---|---|
committer | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 2001-12-29 10:03:39 +0000 |
commit | 715322934f6467641f88031f401014ab02491962 (patch) | |
tree | 557052701c5b77125a0855abdbbed86f660b360a /locks/os2 | |
parent | b489f9e9d01c089a17e4b315b35753c40131f55e (diff) | |
download | libapr-715322934f6467641f88031f401014ab02491962.tar.gz |
Leave apr_os_proc_mutex_*() as unimplemented for now as the type of the native
lock is still undecided.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62683 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks/os2')
-rw-r--r-- | locks/os2/proc_mutex.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/locks/os2/proc_mutex.c b/locks/os2/proc_mutex.c index a881181e6..3612b7916 100644 --- a/locks/os2/proc_mutex.c +++ b/locks/os2/proc_mutex.c @@ -111,23 +111,13 @@ APR_POOL_IMPLEMENT_ACCESSOR(proc_mutex) APR_DECLARE(apr_status_t) apr_os_proc_mutex_get(apr_os_proc_mutex_t *ospmutex, apr_proc_mutex_t *pmutex) { - *ospmutex = pmutex->hMutex; - return APR_SUCCESS; + return APR_ENOTIMPL; } APR_DECLARE(apr_status_t) apr_os_proc_mutex_put(apr_proc_mutex_t **pmutex, apr_os_proc_mutex_t *ospmutex, apr_pool_t *pool) { - if (pool == NULL) { - return APR_ENOPOOL; - } - if ((*pmutex) == NULL) { - (*pmutex) = (apr_proc_mutex_t *)apr_pcalloc(pool, - sizeof(apr_proc_mutex_t)); - (*pmutex)->pool = pool; - } - (*pmutex)->hMutex = *ospmutex; - return APR_SUCCESS; + return APR_ENOTIMPL; } |