|
Boost : |
From: Howard Hinnant (hinnant_at_[hidden])
Date: 2005-04-06 13:09:39
On Apr 6, 2005, at 12:36 PM, Alexander Terekhov wrote:
>
> Alexander Terekhov wrote:
>
> [... asm long atomic_decrement_[weak|strong] ...]
>
> I suppose that CodeWarrior is smart enough to recognize the presence of
> msync instructions and will behave accordingly with respect to compiler
> caching/reordering across these routines. If not, things can go wild,
> beware.
Your assumption is correct. CodeWarrior won't reorder across these
instructions.
-Howard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk