$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [lockfree] review
From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2011-08-26 14:02:28
Dave Abrahams wrote:
[...]
> IIUC, using mutexes in the implementation of C++0x atomics has always
> been considered an available choice for implementors. ...
Lock-free atomics can not be implemented using mutexes. Lock-free SC
atomics need a heavy-weight 'hwsync' on PowerPC/PPC (mutexes don't need
'hwsync').
Nobody needs atomics implemented using mutexes because locking can be
done more efficiently on higher level.
regards,
alexander.