On Aug 22, 2014, at 1:58 PM, Jarno Rajahalme wrote:
> The default memory order for atomic operations is
> memory_order_seq_cst, which synchronizes the whole system, i.e., locks
> the memory bus, which is very expensive. memory_order_relaxed, on the
> other hand, does not impose any kind of memo
The default memory order for atomic operations is
memory_order_seq_cst, which synchronizes the whole system, i.e., locks
the memory bus, which is very expensive. memory_order_relaxed, on the
other hand, does not impose any kind of memory barrier (not even a
compiler barrier), which allows for bett