[dmd-concurrency] draft 7

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


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.

Andrei



More information about the dmd-concurrency mailing list