httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: cvs commit: apache-2.0/src/modules/standard mod_auth_digest.c
Date Thu, 01 Jun 2000 21:38:39 GMT

> > > APR_HAS_SHARED_MEMORY is available at compile-time to let you know that
> > > ap_shm_init() is going to return APR_ENOTIMPL. Of course, you can also do
> > > a runtime test.
> > 
> > Ummmm.... no.  If APR_HAS_SHARED_MEMORY is not defined, ap_shm_init is not
> > declared and the linker will die.  There is no way to return APR_ENOTIMPL
> > from the shared memory routines if the platform doesn't implement shared
> > memory.  This was a group decision made about a year ago.
> 
> Heh. Then I'm confused :-)
> 
> I'd say that APR should stub the things, much like it stubs the XLATE
> stuff.
> 
> Well... whatever. :-)  Basic point is that the stubs for ap_shm_* in
> mod_auth_digest are ugly and a different solution ought to be found.

Actually, the XLATE stuff should be changed to match the rest of APR.  :-)

How do you feel about having MPMs which don't need shared memory
re-implementing ap_shm_* with malloc/free?

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message