3 ms·
I wasn't actually talking about singletons, just the doublechecked locking pattern. It's also necessary for laziness on objects that are referenced by multiple
by hyperpape 11y ago
I wasn't actually talking about singletons, just the doublechecked locking pattern. It's also necessary for laziness on objects that are referenced by multiple threads.
I tend to think Singletons are a dubious design pattern, like a lot of other people.