[dmd-concurrency] draft 7

Fawzi Mohamed fawzi at gmx.ch
Tue Feb 2 07:16:19 PST 2010


On 2-feb-10, at 16:08, Sean Kelly wrote:

> On Feb 1, 2010, at 10:19 PM, Robert Jacques wrote:
>
>> On Tue, 02 Feb 2010 01:04:37 -0500, Sean Kelly <sean at invisibleduck.org 
>> > wrote:
>>> Sadly, volatile is deprecated in D 2.0.  You pretty much have to  
>>> use inline asm and rely on the fact that Walter has said D  
>>> compilers should never optimize in or across asm code.
>>
>> Well, to the best of my knowledge volatile has never been  
>> implemented in D 1.0, which is one of the reason's it was dropped  
>> from D 2.0.
>
> I think it was semi-implemented.  The compiler didn't optimize  
> functions containing a volatile statement, if I recall.

ok, that is enough for me... thanks, an confirmation would be greatly  
appreciated though :)



More information about the dmd-concurrency mailing list