]> granicus.if.org Git - apache/commitdiff
Use the new pool API to eliminate pool locking in the prefork MPM
authorBrian Pane <brianp@apache.org>
Fri, 14 Dec 2001 16:20:48 +0000 (16:20 +0000)
committerBrian Pane <brianp@apache.org>
Fri, 14 Dec 2001 16:20:48 +0000 (16:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92481 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/prefork/prefork.c

index 6bba1ef20c67473b3682d0cecd2cdf0f1f4ccc9b..b33292b1e75296b18d3701262a1b8d31246c05ea 100644 (file)
@@ -558,7 +558,7 @@ static void child_main(int child_num_arg)
     /* 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);