httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: cvs commit: httpd-2.0/server/mpm/worker worker.c
Date Thu, 18 Apr 2002 15:00:25 GMT
My point was you can't simply copy integers across processes, they won't
map to the same vnode. You must use a mechanism for passing them between
these processes, and this comes at a price.

If you're looking for a cross-platform shared-memory implementation,
APR's got it: apr_shm.h
If you want to do memory management in that segment, feed it to apr_rmm.h

-aaron


On Thu, Apr 18, 2002 at 08:47:28AM -0500, Rose, Billy wrote:
> Hummm. What are your thoughts on shmget() allocating a global segment owned
> by the master process that each child can get at? Is there a Nix out there
> that doesn't have shmget()?

Mime
View raw message