apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr/memory/unix apr_pools.c
Date Sun, 02 Sep 2001 18:11:33 GMT
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 <aaron@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);
   }
  
  
  

Mime
View raw message