Boost logo

Boost :

Subject: Re: [boost] [lockfree::fifo] Review
From: Chris M. Thomasson (cristom_at_[hidden])
Date: 2009-12-21 15:44:30


"Helge Bahmann" <hcb_at_[hidden]> wrote in message
news:200912212121.09020.hcb_at_chaoticmind.net...
> Am Monday 21 December 2009 18:21:39 schrieb Chris M. Thomasson:
>> "Helge Bahmann" <hcb_at_[hidden]> wrote in message
>> news:alpine.DEB.1.10.0912211630230.31425_at_m65s28.vlinux.de...
>>
>> > On Mon, 21 Dec 2009, Chris M. Thomasson wrote:
>> >> Of course you are right. For some reason, I was thinking that
>> >> `memory_order_consume' would boil down to a:
>> >>
>> >>
>> >> MEMBAR #LoadLoad
>> >>
>> >>
>> >> on a SPARC.
>
> mmh... do you happen to have a Sparc at hand for testing? (Mine is
> currently
> broken). If yes, would you mind doing a little bit of testing so we could
> implement atomic ops for Sparc as well?

Well, Sun Microsystems did give me a brand new Sun Fire T2000 to play with
back in 2006 when I was participating in the CoolThreads Contest:

https://coolthreads.dev.java.net

https://coolthreads.dev.java.net/servlets/ProjectForumMessageView?messageID=11001&forumID=1797

(I created the vZOOM project)

I kept it for about two years and then sold it. Unfortunately, I don't have
access to a SPARC now.

;^(

Humm. Have you had a look at the relevant source code for OpenSolaris?

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/common/atomic/sparcv9/atomic.s

AFAICT, they implement everything you need.

[...]


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