jmdavis/phobos — comment on commit 0adc5239dc08475e0416b77f8a591863fc929665
File: std/datetime.d line 28553
By debio264:

Is Double Checked Locking legal under D's memory model? In C++, you would have to flag _localTime as volatile. Does shared accomplish the same thing?