Safe Software interview question

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

Interview Answer

Anonymous

10 Dec 2017

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