Boost logo

Boost :

From: Fabrice Truillot (fte_at_[hidden])
Date: 2000-08-31 11:52:36

on 31.8.2000 18:47, Jeff Paquette at paquette_at_[hidden] wrote:

> at the assembly level, a 32 bit read is indeed atomic. However, I do not
> believe that:
> int a, b;
> a = b;
> is guaranteed to be atomic. Any interrupt / task switch can occur between
> the fetch of b and the store to a.

Moreover, an atomic operation must be atomic regardless the number of

-- Fab'

Boost list run by bdawes at, gregod at, cpdaniel at, john at