apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <bri...@apache.org>
Subject Re: Bucket management strategies for async MPMs?
Date Sun, 01 Sep 2002 00:18:03 GMT
Cliff Woolley wrote:

>On Sat, 31 Aug 2002, Brian Pane wrote:
>
>  
>
>>I don't think we can count on the assumption that each conn will
>>only be processed by one thread at a time.  For example, this race
>>    
>>
>
>Then we have to at least guarantee that each request can only be processed
>by one thread at a time, I think.  *None* of the buckets code is
>threadsafe, and it's done that way intentionally.  A brigade (and its
>allocator) can exist in exactly one thread at a time.
>  
>

Wouldn't it be sufficient to guarantee that:
 * each *bucket* can only be processed by one thread at a time, and
 * allocating/freeing buckets is thread-safe?

Brian



Mime
View raw message