summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorBrian Semrau <brian.semrau@gmail.com>2021-11-12 19:10:33 -0500
committerBrian Semrau <brian.semrau@gmail.com>2021-11-12 19:28:49 -0500
commitc558263d84e974c95efe4d1e34539d4232e5d26f (patch)
treee1104420c31ec527bdc219826b552b092849b03a /doc/classes
parent19571c9c4bb8c388ac5d9a0255a8c18c4680b7df (diff)
Expose Thread::get_main_id in core bindings
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 dcd41e46f0..7fb80abbf9 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>