[dmd-concurrency] draft 7

Andrei Alexandrescu andrei at erdani.com
Mon Feb 1 19:59:16 PST 2010


Fawzi Mohamed wrote:
> 
> On 2-feb-10, at 01:34, Andrei Alexandrescu wrote:
> 
>> Fawzi Mohamed wrote:
>>> you don't need a barrier, you need a volatile statement to avoid 
>>> compiler optimizations
>>
>> That depends on the platform. On contemporary Intel machines I agree 
>> there's no need for a barrier.
> 
> as I explained in another post (that I wrote several hours ago, but 
> unfortunately was just sent (I closed the computer too fast...) I think 
> that you don't really understand what barriers do.

It's possible I am not expressing myself clearly. My understanding is 
described at length in this article:

http://www.aristeia.com/Papers/DDJ_Jul_Aug_2004_revised.pdf


Andrei


More information about the dmd-concurrency mailing list