apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@ebuilt.com>
Subject Re: Conditionals...
Date Fri, 03 Aug 2001 23:37:19 GMT
> >                                         Likewise, even a mid-update context
> > switch doesn't matter for a variable that is only incremented/decremented.
> 
> only if the variable is used for an approximation :)

I said only one writer.

All variables are an approximation -- cosmic rays can change the value as
well, with only a slightly smaller probability than mid-increment time
slices in a non-test system.  Unless there is a bug in the code, reading
a counter in the scoreboard never needs a lock.

....Roy


Mime
View raw message