« Return to Thread: Lock-free atomic_shared_ptr?

Re: Lock-free atomic_shared_ptr<T>?

by Tim Blechmann-2 :: Rate this Message:

Reply to Author | View in Thread

On Fri, 18 Jan 2008 12:43:39 -0800, Cory Nelson wrote:

> On Jan 18, 2008 9:56 AM, Jeffrey Yasskin <jyasskin@...> wrote:
>> using shared_ptr<T> as a value type. The implementation I'm thinking of
>> uses hazard pointers
>> (http://erdani.org/publications/cuj-2004-12.pdf) and double-wide-cas
>> (cmpxchg16b on x86-64). So I have three questions for this list:
>
> Athlon 64s (pre-dual core) do not have cmpxchg16b - how do you plan to
> get around that?

iirc, the x86_64 doesn't actually use a 64-bit virtual address space, but
only 48-bit ... the remaining 16 bit could be used to store the tag ...

best, tim

--
tim@...
http://tim.klingt.org

Question: Then what is the purpose of this "experimental" music?
Answer: No purposes. Sounds.
  John Cage

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

 « Return to Thread: Lock-free atomic_shared_ptr?