summaryrefslogtreecommitdiff
path: root/core/os/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/os.h')
-rw-r--r--core/os/os.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h
index 52bf731501..abfa7ac993 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -298,6 +298,7 @@ public:
virtual void set_exit_code(int p_code);
virtual int get_processor_count() const;
+ virtual int get_default_thread_pool_size() const { return get_processor_count(); }
virtual String get_unique_id() const;