Expose Thread::is_main_thread()

This commit is contained in:
David Snopek
2025-08-19 10:35:45 -05:00
parent 8ebf8ae23c
commit b9bff1fba5
3 changed files with 13 additions and 0 deletions

View File

@ -495,6 +495,7 @@ public:
Variant wait_to_finish();
static void set_thread_safety_checks_enabled(bool p_enabled);
static bool is_main_thread();
};
namespace Special {