Warning: volatile does NOT do what you think it does. WRT. DS or similar development.
grauzone
none at example.net
Mon Jan 12 00:25:12 PST 2009
Maybe that's why Walter just decided to remove volatile in D2.0:
http://www.digitalmars.com/d/1.0/statement.html#VolatileStatement
http://www.digitalmars.com/d/2.0/statement.html#VolatileStatement
http://www.digitalmars.com/d/2.0/changelog.html#new2_013
I guess in D2.0, volatile accesses will be explicitly done with
read_atomic()/write_atomic() style functions?
PS: downs, why do you still trust the compiler, after all the bugs you
have found?
More information about the Digitalmars-d
mailing list