Boost logo

Boost :

Subject: Re: [boost] [lockfree::fifo] Review
From: Helge Bahmann (hcb_at_[hidden])
Date: 2009-12-21 15:21:08


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?

[...]
> Interesting... Humm, that kind of reminds me of a sequence lock:

yes, it's exactly the same idea

Best regards
Helge


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