$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2007-10-10 11:26:41
Markus Schöpflin escribió:
> Hello,
> 
> this may be a silly question, but I have been wondering what the atomic 
> read and write primitives are actually supposed to do?
> 
> I mean, from the readers or writers POV a read or write is always atomic, 
> isn't it? Am I missing something very obvious here?
In some architectures, a 32 read might not be atomic (even if the read 
is aligned). I think that Intel system is always atomic. They are there 
for completeness, to support systems where read or write might not be 
atomic.
> 
> Thanks,
> Markus
Regards,
Ion