jmdavis/phobos — comment on commit 56c8acdeb45d0f10fb065b0db131b1eb9aa6ab81
File: std/datetime.d line 28546
By andralex:

Yah, this code is correct but has liabilities because of the incomplete implementation of shared. For now I suggest we use __gshared when defining _localTime and atomicLoad and atomicStore (see http://dlang.org/phobos/core_atomic.html) when reading and writing _localTime.