httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/prefork prefork.c
Date Fri, 14 Dec 2001 16:20:48 GMT
brianp      01/12/14 08:20:48

  Modified:    server/mpm/prefork prefork.c
  Log:
  Use the new pool API to eliminate pool locking in the prefork MPM
  
  Revision  Changes    Path
  1.224     +1 -1      httpd-2.0/server/mpm/prefork/prefork.c
  
  Index: prefork.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/prefork/prefork.c,v
  retrieving revision 1.223
  retrieving revision 1.224
  diff -u -r1.223 -r1.224
  --- prefork.c	2001/11/29 04:06:05	1.223
  +++ prefork.c	2001/12/14 16:20:48	1.224
  @@ -558,7 +558,7 @@
       /* Get a sub context for global allocations in this child, so that
        * we can have cleanups occur when the child exits.
        */
  -    apr_pool_create(&pchild, pconf);
  +    apr_pool_create_ex(&pchild, pconf, NULL, APR_POOL_FNEW_ALLOCATOR);
   
       apr_pool_create(&ptrans, pchild);
   
  
  
  

Mime
View raw message