SingletonMeta#
- class mergernet.core.utils.SingletonMeta[source]#
Bases:
type
Thread-safe implementation of Singleton.
- __new__(**kwargs)#
- mro()#
Return a type’s method resolution order.
- _instances = {}#
- _lock: allocate_lock = <unlocked _thread.lock object>#
Lock object that will be used to synchronize threads during first access to the Singleton.