Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 65074 invoked by uid 500); 28 Apr 2001 01:24:33 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 65060 invoked from network); 28 Apr 2001 01:24:33 -0000 Date: Fri, 27 Apr 2001 18:24:34 -0700 (PDT) From: dean gaudet To: Subject: Re: global pools In-Reply-To: <20010426212947.G921@waka.ebuilt.net> Message-ID: X-comment: visit http://arctic.org/~dean/legal for information regarding copyright and disclaimer. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N i suppose pcommands data could be allocated in pglobal instead... -dean On Thu, 26 Apr 2001, Roy T. Fielding wrote: > Once upon a time, httpd would create a global pool as the result from > alloc_init and use that pool as the parent of almost all of the other > pools (I say almost only because there is one pcommands pool that was > separate, though I don't know why). > > Now, httpd tells apr to initialize itself and alloc, but doesn't > get the global pool in return. httpd then needs to create other > global pools. I think this is leading to cases where the proper > cleanups are not being done, but its a little hard to tell because > there isn't much in the way of continuity (pools are created in > subroutines, assumed to exist at a higher level, and then destroyed > in other places). Yuck. > > Is there some reason that apr can't give us the global pool, or allow > us to give it the global pool? > > ....Roy > >