Warning: volatile does NOT do what you think it does. WRT. DS or similar development.
downs
default_357-line at yahoo.de
Mon Jan 12 00:33:06 PST 2009
grauzone wrote:
> 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?
I'm addicted to D. It's an abusive, violent relationship. :)
More information about the Digitalmars-d
mailing list