Projects in Awesome Lists tagged with singletons
A curated list of projects in awesome lists tagged with singletons .
https://github.com/jdsherbert/threadsafe-singleton-class
C++ Threadsafe Singleton class using mutex and threadlock when accessing instance.
boilerplate boilerplate-template cpp cpp11 cpp14 cpp17 cpp20 multithreading mutex mutex-lock mutex-locks mutex-synchronisation reference-implementation singleton singleton-pattern singletons
Last synced: 15 Mar 2026
https://github.com/soenneker/soenneker.dictionaries.singletons
An externally initializing singleton dictionary that uses double-check asynchronous locking, with optional async and sync disposal
csharp dictionaries dictionary dotnet extension singleton singletondictionary singletons util
Last synced: 09 Mar 2026
https://github.com/bardifarsi/lazyinitialization
This C++20 solution enables lazy initialization for multithreaded tasks. It efficiently initializes an expensive object only when needed, ensuring thread safety. It utilizes std::once_flag and std::atomic<bool> for synchronization, optimizing resource utilization and scalability.
concurrency concurrency-patterns concurrent-programming cpp cpp20 lazy-init lazy-initialization lazyinitializationexception multithreading object-oriented-programming oop parallel-computing parallel-processing parallel-programming singleton singleton-design-pattern singleton-pattern singletons
Last synced: 31 Aug 2025
https://github.com/blmage/singletons-dict-getter
TH generation of Dict getters for promoted nullary data constructors.
Last synced: 21 May 2026
https://github.com/piotrpress/singleton
This library is a Singleton (anti)pattern implementation using a Traits with a support for an Object Inheritance and passing parameters to the constructor.
antipattern inheritance object-inheritance pattern singleton singleton-pattern singletonpattern singletons trait traits
Last synced: 13 Feb 2026
https://github.com/sandrofigo/singletons-unity3d
Singleton classes for Unity
singleton singletons unity-3d unity2d unity3d
Last synced: 29 Apr 2026
https://github.com/kaelzhang/egg-singletons
Egg plugin to define multiple singletons in a convenient way.
egg egg-plugin eggjs singletons
Last synced: 01 Apr 2025