Pregunta de entrevista de Safe Software

What are some potential problems of using the Singleton design pattern in a Multi-threaded environment? (Particularly when accessing the Singleton)

Respuesta de la entrevista

Anónimo

10 dic 2017

the biggest concern here is the possibilities of deadlocking on access to the Singleton.