From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2006-12-01 12:48:13
Peter Dimov wrote:
> Roland Schwarz wrote:
>> If I am not wrong, In which respect is your example then an emulation
>> of acquire semantics. If I a wrong, what I am missing?
> Nothing; it's an emulation, not an exact mapping. It achieves results that
> are valid executions under an acquire/release model.
> The emulation is
> stricter since it doesn't allow all reorderings that are possible in an
> acquire/release model. But it's a way to implement acquire/release on
> hardware that provides bidirectional barriers.
I was under the (seemingly wrong) impression that an emulation has to
preserve all of the semantics, opposed to simulation which I would have
used in your example.
But nevertheless I got the point. Thanks.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk