httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <...@engelschall.com>
Subject Re: Apache/pthread and locking problem
Date Wed, 11 Aug 1999 17:03:51 GMT

In article <Pine.LNX.4.04.9908111236140.29628-100000@chosondo.raleigh.ibm.com> you wrote:
 
>> Ok, but I cannot see a clean way to disable the accept locks in
>> Apache-mpm-dexter. Seems like one has to really comment out the
>> accept_mutex_on/off calls or we've to add a nop-variant to acceptlock.c,
>> right?
> 
> I can't speak intelligently about dexter, because I have never worked on
> it.  But, it would seem to me, that this should be a configuration-time
> decision.  It should just require a simple SAFE_ACCEPT -like abstraction
> in the code.

I found it: In apache-pthread one just has to make sure that no
USE_XXX_SERIALIZED_ACCEPT defines exists at all for a platform. Then the
functions are nops and the beast works fine. Although it's still not really
lightening fast...
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Mime
View raw message