Does shared prevent compiler reordering?

2015-07-18 Thread rsw0x via Digitalmars-d-learn

I can't find anything on this in the spec.


Re: Does shared prevent compiler reordering?

2015-07-18 Thread Kagamin via Digitalmars-d-learn
No, it doesn't affect code generation, it's mostly for type 
checker to help write concurrent code, not to do it instead of 
you.