httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Finkenstadt <>
Subject Re: [PATCH] Shared Memory Pools ;-)
Date Mon, 25 Jan 1999 19:55:21 GMT
I saw no (obvious) way for a module to attach to a shared pool without knowing
it's shared memory pointer address.  That is, there's no identifying
information for a pool other than its address.  How would two modules sharing
a pool communicate the pool's address between them?

I'm thinking

  pool *p = create_or_use_a_shared_pool("Tool",sizeof(SharedRec));

in order to either create a pool, or use it.

I suppose the answer to my first statement is, that a module during its
non-child initialization phase allocates the pool and all of its children end
up with a copy of that pool pointer.  But I'm not sure how to do the


Jim Jagielski wrote:
> I think that the concept of shared pools is definately a nice extension
> to pools. If not for 1.3.x then definately for 2.0.

Andrew Finkenstadt (
"I know the answer's in there, the server's just too busy!" --Anon

View raw message