class_thread.rst 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_Thread:
  4. Thread
  5. ======
  6. **Inherits:** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  13. | Error | :ref:`start<class_Thread_start>` **(** :ref:`Object<class_object>` instance, :ref:`String<class_string>` method, var userdata=NULL, :ref:`int<class_int>` priority=1 **)** |
  14. +------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`String<class_string>` | :ref:`get_id<class_Thread_get_id>` **(** **)** const |
  16. +------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`bool<class_bool>` | :ref:`is_active<class_Thread_is_active>` **(** **)** const |
  18. +------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  19. | Variant | :ref:`wait_to_finish<class_Thread_wait_to_finish>` **(** **)** |
  20. +------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  21. Numeric Constants
  22. -----------------
  23. - **PRIORITY_LOW** = **0**
  24. - **PRIORITY_NORMAL** = **1**
  25. - **PRIORITY_HIGH** = **2**
  26. Member Function Description
  27. ---------------------------
  28. .. _class_Thread_start:
  29. - Error **start** **(** :ref:`Object<class_object>` instance, :ref:`String<class_string>` method, var userdata=NULL, :ref:`int<class_int>` priority=1 **)**
  30. .. _class_Thread_get_id:
  31. - :ref:`String<class_string>` **get_id** **(** **)** const
  32. .. _class_Thread_is_active:
  33. - :ref:`bool<class_bool>` **is_active** **(** **)** const
  34. .. _class_Thread_wait_to_finish:
  35. - Variant **wait_to_finish** **(** **)**