Hi, On the druntime mailing list, we ended up discussing whether D respects that global (__gshared) variables may well be changed by any thread at any point in time. Is this the case? I.e. will the optimizer refrain from treating a read of a __gshared value as invariant in a loop? Regards, Alex