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 0x7f0b923d2d90>, 'STATUS_JOINED': 3, '__init__': <function SafeThreadGroup.__init__ at 0x7f0b923d2d08>, 'join': <function SafeThreadGroup.join at 0x7f0b923d2f28>, '__weakref__': <attribute '__weakref__' of 'SafeThreadGroup' objects>, 'STATUS_STARTED': 1, '__dict__': <attribute '__dict__' of 'SafeThreadGroup' objects>, 'start': <function SafeThreadGroup.start at 0x7f0b923d2e18>, '__module__': 'xtd.core.tools.thread', '__doc__': None, 'stop': <function SafeThreadGroup.stop at 0x7f0b923d2ea0>, 'STATUS_STOPPED': 2})¶
-
__module__
= 'xtd.core.tools.thread'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-