bjh 01/12/29 02:03:39
Modified: locks/os2 proc_mutex.c
Log:
Leave apr_os_proc_mutex_*() as unimplemented for now as the type of the native
lock is still undecided.
Revision Changes Path
1.5 +2 -12 apr/locks/os2/proc_mutex.c
Index: proc_mutex.c
===================================================================
RCS file: /home/cvs/apr/locks/os2/proc_mutex.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- proc_mutex.c 19 Oct 2001 23:25:28 -0000 1.4
+++ proc_mutex.c 29 Dec 2001 10:03:39 -0000 1.5
@@ -111,23 +111,13 @@
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;
}