]> granicus.if.org Git - apache/commitdiff
Create a new pool allocator for each worker thread
authorBradley Nicholes <bnicholes@apache.org>
Wed, 13 Feb 2002 22:56:10 +0000 (22:56 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Wed, 13 Feb 2002 22:56:10 +0000 (22:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93397 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/netware/mpm_netware.c

index 2005dd8e73c20728543655ed421b24293c2512f8..7ef5f3e7b0aa22e0562a7f585bdb2826cfec08c2 100644 (file)
@@ -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++;