Question d’entretien chez Safe Software

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

Réponse à la question d'entretien

Utilisateur anonyme

10 déc. 2017

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