> >                                         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

Reply via email to