httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Jacobowitz <d...@false.org>
Subject Re: Removing ap_dummy_mutex from API
Date Thu, 01 Oct 1998 22:45:08 GMT
On Thu, Oct 01, 1998 at 06:20:44PM -0000, Ben Hyde wrote:
> 
> This removes the global ap_dummy_mutex used in multithread.h
> as so:
> 
>   -#define ap_create_mutex(name) ((mutex *)ap_dummy_mutex)
>   +#define ap_create_mutex(name) ((mutex *)-1)
> 
> It is currently defined in http_main.c 
>   -/* this just need to be anything non-NULL */
>   -void *ap_dummy_mutex = &ap_dummy_mutex;
> 
> It's one of the four things that keeps one from using alloc.c
> buff.c, and ap/ standalone.
> 
> It does change the API for unix only.  You'll need to loadable modules
> which use mutex.  So I bumped the MODULE_MAGIC_NUMBER_MINOR.
> 
> Any complaints?

But I believe that the point of MODULE_MAGIC_NUMBER_MAJOR was to
indicate binary compatibility, right?

Dan

Mime
View raw message