Boost logo

Boost :

Subject: Re: [boost] [atomic, x86] need another pair of eyes
From: Peter Dimov (lists_at_[hidden])
Date: 2012-12-19 13:34:57


Tim Blechmann wrote:
> >> > imo, the platform_fence_before/after is not necessary ...
> >> >
> >> > tim
> >> >
> > If there is a bug, _removing_ barriers isn't going to solve it. Or do I
> > misunderstand the situation?
> > (I agree that the barriers may be unnecessary, but I don't see how it
> > helps
> > with the test failures.)
>
> of course, it is completely unrelated to the test failures, i was just
> surprised to see these barriers ...

There's nothing surprising in having compiler barriers before release
operations and after acquire operations.


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