Low-Lock Singletons In D

Walter Bright newshound2 at digitalmars.com
Mon May 6 10:58:19 PDT 2013


On 5/6/2013 6:14 AM, Max Samukha wrote:
> FWIW, I played with a generalized form of this pattern long ago, something like
> (typing from memory):

And, that's the classic double checked locking bug!



More information about the Digitalmars-d mailing list