From c558263d84e974c95efe4d1e34539d4232e5d26f Mon Sep 17 00:00:00 2001 From: Brian Semrau Date: Fri, 12 Nov 2021 19:10:33 -0500 Subject: Expose Thread::get_main_id in core bindings --- doc/classes/OS.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/classes') 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]. + + + + 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. + + -- cgit v1.2.3