
10 Oct
2007
10 Oct
'07
3:26 p.m.
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