summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-20 10:48:46 +0100
committerGitHub <noreply@github.com>2021-11-20 10:48:46 +0100
commitbe16eb625b8260e6e4f53af3b066602bccab6900 (patch)
tree936bc0fb4b8a111804476e5383a8b7c4297067c2 /doc/classes
parenta74e2c50583d839a8066f5ee2f806a11137a7026 (diff)
parentc558263d84e974c95efe4d1e34539d4232e5d26f (diff)
Merge pull request #54932 from briansemrau/expose-main-thread-id
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/OS.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml
index d06a06a2ee..7088844547 100644
--- a/doc/classes/OS.xml
+++ b/doc/classes/OS.xml
@@ -246,6 +246,13 @@
This can be used to narrow down fully specified locale strings to only the "common" language code, when you don't need the additional information about country code or variants. For example, for a French Canadian user with [code]fr_CA[/code] locale, this would return [code]fr[/code].
</description>
</method>
+ <method name="get_main_thread_id" qualifiers="const">
+ <return type="int" />
+ <description>
+ Returns the ID of the main thread. See [method get_thread_caller_id].
+ [b]Note:[/b] Thread IDs are not deterministic and may be reused across application restarts.
+ </description>
+ </method>
<method name="get_model_name" qualifiers="const">
<return type="String" />
<description>