[cpp-threads] Whence Sequential Consistency?

Lawrence Crowl Lawrence at Crowl.org
Sat Jan 20 02:18:19 GMT 2007


On 1/19/07, Peter Dimov <pdimov at mmltd.net> wrote:
> Lawrence Crowl wrote:
> > How can non-sequentially consistent atomics build
> > a lock that enforces sequentially consistent behavior on programs?
>
> Why not? For one thing, a lock is allowed to wait until SC is achieved,
> while the atomics are non-blocking.

What about busy waiting?  Is this the distinction that you are drawing
between a lock and an atomic?

-- 
Lawrence Crowl



More information about the cpp-threads mailing list