volatile variables in D....

Sean Kelly sean at f4.ca
Thu Apr 12 07:52:50 PDT 2007


Davidl wrote:
> worth consideration!!
> And the volatile statement we have now is completely not usable compare to
> C++'s volatile prefix vars

If you mean for the actual purpose of volatile in C++ (reading from IO 
memory and such) then that's debatable.  But C++ volatile is currently 
useless for multithreading, though Microsoft has extended the guarantees 
so it will work in some circumstances.



Sean



More information about the Digitalmars-d mailing list