Re: Difference between atomic operations and memory barriers

From: Valdis . Kletnieks
Date: Tue Oct 27 2009 - 07:51:57 EST


On Tue, 27 Oct 2009 00:30:45 +0530, "Leonidas ." said:

> So we can safely assume that pointer assignment will be done in an
> atomic manner?

Has anybody ever actually made a *production* CPU that had non-atomic
pointer assignments? And how long before the crazed programmers lynched
and burned the offending CPU designer at the stake? ;)

Non-atomic pointer assignments are the CPU design equivalent of Vogon poetry.
Just Say No. With a shotgun if needed.

Attachment: pgp00000.pgp
Description: PGP signature