Boost logo

Boost :

From: Chris Thomasson (cristom_at_[hidden])
Date: 2006-10-24 20:40:58


"Peter Dimov" <pdimov_at_[hidden]> wrote in message
news:004001c6f7c5$4749e180$6607a8c0_at_pdimov2...
> Peter Dimov wrote:
>> Chris Thomasson wrote:
>>> "Peter Dimov" <pdimov_at_[hidden]> wrote in message
>>> news:001801c6f7bd$c32f62a0$6607a8c0_at_pdimov2...
>>>> Chris Thomasson wrote:

[...]

> Works now.
>
> The performance is somewhat better than my other semaphore-based attempts
> in
> most common scenarios. But it still doesn't beat the "naive"
> implementation
> at
>
> http://pdimov.com/cpp/rw_mutex.cpp

Have you tried making use of DWCAS instead of CAS? Now I am really
interested if my assembly implementation can beat your 'naive' version...
Will post it in next couple of days...


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