Subject: Re: [boost] [lock-free] CDS -yet another lock-free library
From: Cory Nelson (phrosty_at_[hidden])
Date: 2010-03-30 06:15:35
On Tue, Mar 30, 2010 at 3:01 AM, Khiszinsky, Maxim
> Tim Blechmann wrote:
>>> cmp8xchg16 ... I'm not found any practical application of Itanium
>>> cmp8xchg16. At least in my tasks.
>> the idea is to compare only the tag
> Hmm... Interesting.
> I use other implementation of tagged pointer when each pointer has its own incremental tag.
> Comparing only the tag means that there is global counter incremented atomically. As a result a contention on this global counter may be encountered...
> On the other hand, cmp8xchg16 lets me possibility implementing tagged pointer on Itanium...
You should be able to use the exact same algos, but compare only the
tag. No global counter needed.
-- Cory Nelson
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk