Boost logo

Boost :

Subject: Re: [boost] [lock-free] CDS -yet another lock-free library
From: Khiszinsky, Maxim (Maxim.Khiszinsky_at_[hidden])
Date: 2010-03-30 06:01:29


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...

Thanks, Tim! Your advice is really interesting for me

Regards, Max


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