You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by br...@apache.org on 2001/12/14 17:20:48 UTC
cvs commit: httpd-2.0/server/mpm/prefork prefork.c
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);