httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <>
Subject Re: Pool common to all processes/threads
Date Sun, 03 Nov 2002 03:26:45 GMT
On Fri, 2002-11-01 at 17:08, Brian Pane wrote:
> On Thu, 2002-10-31 at 21:48, Bojan Smojver wrote:
> > Just reading through the documentation to find if there is a single pool that
> > all processes/threads have access to, without mucking around with direct shared
> > memory allocation. So far, couldn't fine one in Apache 2. Does it exist?
> There isn't a cross-process pool.  Some MPMs have a "pconf" pool
> that exists at a global scope within each process, but it's not
> really usable by the request-handling threads.  In order to achieve
> high performance, apr_palloc() doesn't do any locking, so each pool
> can only be used safely by one thread at a time.


An interesting idea would be to have a really global pool which would be
read-write. However, all other pools don't have to be thread safe. An
interesting library in that area is libslack (
where everything is MT-disciplined


View raw message