On Thu, 1 Jun 2000, Greg Stein wrote:
> I'm with Ryan on this. The ap_shm_*() functions should be implemented on
> all platforms, in all configurations.
>
> 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.
Ryan
_______________________________________________________________________________
Ryan Bloom rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------
|