httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: common directory?
Date Thu, 16 Mar 2000 19:35:54 GMT
Presuming you're yanking these out of the MPM module source, then I'd
recommend starting a new file. Maybe util_mpm.c or something. If the
functions are reasonably heavyweight, and need a file of their own, then
name it appropriately (of course).

Cheers,
-g

On Thu, 16 Mar 2000, David Reid wrote:

> So do we pollute an existing file or start a new sewer?
> 
> Exactly the thing that brought it up in my mind :-)
> 
> d.
> ----- Original Message -----
> From: "Greg Stein" <gstein@lyra.org>
> To: "Apache (new-httpd)" <new-httpd@apache.org>
> Sent: Thursday, March 16, 2000 7:01 PM
> Subject: Re: common directory?
> 
> 
> > I'd go further and state common to any SUBSET of MPMs. No reason to
> > duplicate just because one MPM doesn't use a function.
> >
> > The question then comes up whether you want to compile/link-in that
> > function when it isn't needed for certain MPMs. I don't have an answer to
> > that :-)
> >
> > Hrm. Well, maybe. These conditional functions could be wrapped in a
> > feature macro which gets set by the MPM selection logic in ./configure
> > (e.g. USE_SHM_SCOREBOARD).
> >
> > Cheers,
> > -g
> >
> > On Thu, 16 Mar 2000 rbb@apache.org wrote:
> >
> > >
> > > Anything that is actually common to ALL MPMs should live in src/main,
> > > IMHO.
> > >
> > > Ryan
> > >
> > > On Thu, 16 Mar 2000, David Reid wrote:
> > >
> > > > We've mentioned a few times things that are common to all MPM's, so
> how
> > > > about a common directory for common code to live in?
> > > >
> > > > david
> > > >
> > > >
> > >
> > >
> > >
> ____________________________________________________________________________
> ___
> > > Ryan Bloom                        rbb@apache.org
> > > 406 29th St.
> > > San Francisco, CA 94131
> >
> > --------------------------------------------------------------------------
> -----
> > >
> >
> > --
> > Greg Stein, http://www.lyra.org/
> >
> >
> 

-- 
Greg Stein, http://www.lyra.org/


Mime
View raw message