Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-10-24 19:11:01


Chris Thomasson wrote:
> "Peter Dimov" <pdimov_at_[hidden]> wrote in message
> news:001801c6f7bd$c32f62a0$6607a8c0_at_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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk