On 9/25/06, Ruediger Pluem <[EMAIL PROTECTED]> 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). -garrett