You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by je...@apache.org on 2001/09/02 20:11:33 UTC
cvs commit: apr/memory/unix apr_pools.c
jerenkrantz 01/09/02 11:11:33
Modified: memory/unix apr_pools.c
Log:
The spawn_mutex is a leftover from 1.3. Remove it.
Justin thinks that the functionality that this did in 1.3 has been moved
to threadproc.
Submitted by: Aaron Bannert <aa...@clove.org>
Reviewed by: Justin Erenkrantz
Revision Changes Path
1.109 +0 -8 apr/memory/unix/apr_pools.c
Index: apr_pools.c
===================================================================
RCS file: /home/cvs/apr/memory/unix/apr_pools.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- apr_pools.c 2001/08/13 04:20:19 1.108
+++ apr_pools.c 2001/09/02 18:11:33 1.109
@@ -252,7 +252,6 @@
#if APR_HAS_THREADS
static apr_lock_t *alloc_mutex;
-static apr_lock_t *spawn_mutex;
#endif
#ifdef APR_POOL_DEBUG
@@ -830,11 +829,6 @@
if (status != APR_SUCCESS) {
return status;
}
- status = apr_lock_create(&spawn_mutex, APR_MUTEX, APR_INTRAPROCESS,
- NULL, globalp);
- if (status != APR_SUCCESS) {
- return status;
- }
#endif
permanent_pool = globalp;
@@ -849,9 +843,7 @@
{
#if APR_HAS_THREADS
apr_lock_destroy(alloc_mutex);
- apr_lock_destroy(spawn_mutex);
alloc_mutex = NULL;
- spawn_mutex = NULL;
#endif
apr_pool_destroy(globalp);
}