Singleton pattern
lastmod 2025-02-15created 2015-06-176 edits
A design pattern (Design patterns) that guarantees a class has only one instance and provides a global point of access to that instance.
Categories
- Python:Singleton - the Singleton pattern implemented in Python.
Favorite site
- Singleton Class in C++
- How to implement a singleton in a multithreaded environment 1
- [Recommended] Double-Checked Locking is Fixed In C++11 (link lost) 2
- Chapter 6, Implementing the Singleton - 4. Implementing the phoenix singleton and its limitations