httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <>
Subject Re: creating new lbmethod for mod_proxy_balancer
Date Mon, 25 Sep 2006 15:00:11 GMT
On 9/25/06, Ruediger Pluem <> wrote:

> After having a look in the code I am just wondering why we do not have any
> locks around when changing this shared data / do not use atomics when increasing
> e.g the value for the number of read bytes (worker->s->read). Is this correct?

That's a good question...  To be entirely correct, I believe atomics
should be used (and it would have to be actual atomics, not the bogus
fallbacks based on a cache of mutexes we use if we don't have real
atomics on the platform).


View raw message