Andrew MacLeod <amacl...@redhat.com> writes:
>>
> The way the standard is defined, any implicit operation like that is
> seq_cst.  If you want something other than seq-cst, you have to
> explicitly call atomic_store (&x, 0, model).

Thanks.

This doesn't sound like a good default for x86. seq_cst requires 
somewhat expensive extra barriers that most people most likely don't
need.

-Andi

-- 
a...@linux.intel.com -- Speaking for myself only

Reply via email to