A different view of volatile

Henry Spencer henry at utzoo.uucp
Sat May 7 03:04:17 AEST 1988


> More than that, volatile is ill-defined *always*: on a machine
> with only halfword load and stores, a fullword `a = 0' is not atomic.
> 
> Remember, though, that `ill-defined' does not mean `useless'...

Remember also that "volatile" does not mean "atomic"!
-- 
NASA is to spaceflight as            |  Henry Spencer @ U of Toronto Zoology
the Post Office is to mail.          | {ihnp4,decvax,uunet!mnetor}!utzoo!henry



More information about the Comp.lang.c mailing list