Boost logo

Boost :

Subject: Re: [boost] [lockfree] review
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-08-28 14:42:52


on Sat Aug 27 2011, Gottlob Frege <gottlobfrege-AT-gmail.com> wrote:

> But without a read, there is no visible behaviour.

Right. Surely it's possible to read in this scenario without
introducing a data race?

> There is probably no such thing as "reordering" in the standard.

Right.

> I guess I haven't read very closely the SC parts of the standard,
> where it talks about data races. I concentrated on the synch-with
> parts.
>
> Maybe we need a better example?

In order to illustrate/understand what? I confess to being a little
unsure what you want to achieve.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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