
24 Oct
2006
24 Oct
'06
11:11 p.m.
Chris Thomasson wrote:
"Peter Dimov" <pdimov@mmltd.net> wrote in message news:001801c6f7bd$c32f62a0$6607a8c0@pdimov2...
Chris Thomasson wrote:
How does the original algorithm compare to yours?
I haven't tried it yet. Will do.
Humm...
Hmmm. Doesn't seem to work. What does your dwcas return on success in &cmp? Leaves it unchanged, perhaps? I always return the current value of &mtx there and it seems that your code depends on &cmp only changing if the dwcas fails.