From d92fa8a2448e2da9869c4375b30e30630ce779d4 Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Wed, 13 Feb 2002 22:56:10 +0000 Subject: [PATCH] Create a new pool allocator for each worker thread git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93397 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/netware/mpm_netware.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/mpm/netware/mpm_netware.c b/server/mpm/netware/mpm_netware.c index 2005dd8e73..7ef5f3e7b0 100644 --- a/server/mpm/netware/mpm_netware.c +++ b/server/mpm/netware/mpm_netware.c @@ -368,7 +368,8 @@ void worker_main(void *arg) tv.tv_sec = 1; tv.tv_usec = 0; - apr_pool_create(&ptrans, pmain); + apr_pool_create_ex(&ptrans, NULL, NULL, APR_POOL_FNEW_ALLOCATOR); + apr_pool_tag(ptrans, "transaction"); apr_thread_mutex_lock(worker_thread_count_mutex); worker_thread_count++; -- 2.40.0