xtd.core.tools.thread module¶
-
class
xtd.core.tools.thread.
SafeThread
(p_name, p_interval)[source]¶ Bases:
threading.Thread
-
__module__
= 'xtd.core.tools.thread'¶
-
-
class
xtd.core.tools.thread.
SafeThreadGroup
(p_name)[source]¶ Bases:
object
-
STATUS_STARTED
= 1¶
-
STATUS_STOPPED
= 2¶
-
STATUS_JOINED
= 3¶
-
__dict__
= mappingproxy({'add_thread': <function SafeThreadGroup.add_thread at 0x7f20103aad90>, 'join': <function SafeThreadGroup.join at 0x7f20103aaf28>, 'stop': <function SafeThreadGroup.stop at 0x7f20103aaea0>, '__dict__': <attribute '__dict__' of 'SafeThreadGroup' objects>, 'start': <function SafeThreadGroup.start at 0x7f20103aae18>, 'STATUS_STARTED': 1, '__doc__': None, '__init__': <function SafeThreadGroup.__init__ at 0x7f20103aad08>, '__module__': 'xtd.core.tools.thread', 'STATUS_STOPPED': 2, 'STATUS_JOINED': 3, '__weakref__': <attribute '__weakref__' of 'SafeThreadGroup' objects>})¶
-
__module__
= 'xtd.core.tools.thread'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-