apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stri...@apache.org
Subject cvs commit: apr/memory/unix apr_pools.c
Date Mon, 14 Jan 2002 09:31:57 GMT
striker     02/01/14 01:31:57

  Modified:    memory/unix apr_pools.c
  Log:
  Remove some redundant #if APR_HAS_THREADS.  Meant to remove them,
  but forgot.
  
  Spotted by Greg Stein.
  
  Revision  Changes    Path
  1.133     +0 -6      apr/memory/unix/apr_pools.c
  
  Index: apr_pools.c
  ===================================================================
  RCS file: /home/cvs/apr/memory/unix/apr_pools.c,v
  retrieving revision 1.132
  retrieving revision 1.133
  diff -u -r1.132 -r1.133
  --- apr_pools.c	14 Jan 2002 09:18:40 -0000	1.132
  +++ apr_pools.c	14 Jan 2002 09:31:57 -0000	1.133
  @@ -897,19 +897,15 @@
       if (parent == NULL)
           return 0;
   
  -#if APR_HAS_THREADS
       if (parent->mutex && parent->mutex != mutex)
           apr_thread_mutex_lock(parent->mutex);
  -#endif
   
       child = parent->child;
   
       while (child) {
           if (pool == child || pool_is_child_of(pool, child, parent->mutex)) {
  -#if APR_HAS_THREADS
               if (parent->mutex && parent->mutex != mutex)
                   apr_thread_mutex_unlock(parent->mutex);
  -#endif
   
               return 1;
           }
  @@ -917,10 +913,8 @@
           child = child->sibling;
       }
   
  -#if APR_HAS_THREADS
       if (parent->mutex && parent->mutex != mutex)
           apr_thread_mutex_unlock(parent->mutex);
  -#endif
   
       return 0;
   }
  
  
  

Mime
View raw message