httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@kiwi.ics.uci.edu>
Subject Re: Removing ap_dummy_mutex from API
Date Fri, 02 Oct 1998 01:32:42 GMT
>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.

I couldn't figure out from your description why this was necessary.
Could you explain?  Just a short note -- I am mostly curious because
I'm not sure what it was doing there in the first place.

....Roy

Mime
View raw message