.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/Thread.xml. .. _class_Thread: Thread ====== **Inherits:** :ref:`RefCounted` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_id` **(** **)** |const| | +---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_alive` **(** **)** |const| | +---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_started` **(** **)** |const| | +---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_thread_safety_checks_enabled` **(** :ref:`bool` enabled **)** |static| | +---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`start` **(** :ref:`Callable` callable, :ref:`Priority` priority=1 **)** | +---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Variant` | :ref:`wait_to_finish` **(** **)** | +---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_Thread_Priority: .. rst-class:: classref-enumeration enum **Priority**: .. _class_Thread_constant_PRIORITY_LOW: .. rst-class:: classref-enumeration-constant :ref:`Priority` **PRIORITY_LOW** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_Thread_constant_PRIORITY_NORMAL: .. rst-class:: classref-enumeration-constant :ref:`Priority` **PRIORITY_NORMAL** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_Thread_constant_PRIORITY_HIGH: .. rst-class:: classref-enumeration-constant :ref:`Priority` **PRIORITY_HIGH** = ``2`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_Thread_method_get_id: .. rst-class:: classref-method :ref:`String` **get_id** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Thread_method_is_alive: .. rst-class:: classref-method :ref:`bool` **is_alive** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Thread_method_is_started: .. rst-class:: classref-method :ref:`bool` **is_started** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Thread_method_set_thread_safety_checks_enabled: .. rst-class:: classref-method void **set_thread_safety_checks_enabled** **(** :ref:`bool` enabled **)** |static| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Thread_method_start: .. rst-class:: classref-method :ref:`Error` **start** **(** :ref:`Callable` callable, :ref:`Priority` priority=1 **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Thread_method_wait_to_finish: .. rst-class:: classref-method :ref:`Variant` **wait_to_finish** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`