Subj : Re: Optimization to Jeffrey Richter's COptex (Windows)? To : comp.programming.threads From : Alexander Terekhov Date : Thu Jan 27 2005 11:49 pm SenderX wrote: > > > You've omitted timedlock(). Why so? ;-) > > > > Here is what it would look like: [... more pointless counting ...] > Are you talking about counting in the CAS loop itself, xchg = old + 1, type > stuff? Yes. regards, alexander. .