From 61fe5fd96b4f80b9c1a6970d1f59e61426425b71 Mon Sep 17 00:00:00 2001 From: Brian Pane Date: Fri, 14 Dec 2001 16:20:48 +0000 Subject: [PATCH] Use the new pool API to eliminate pool locking in the prefork MPM git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92481 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/prefork/prefork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 6bba1ef20c..b33292b1e7 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -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); -- 2.50.1