summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-19 09:39:21 +0100
committerGitHub <noreply@github.com>2021-11-19 09:39:21 +0100
commitfc9de5ba7f316ab230f49518ebdc7ddb79adbe3e (patch)
tree83ded1da3eaa8144f874db3fe3a4426ed7993e93 /platform
parentfb47e3045841a1e250cf87cd3b192473b9963e50 (diff)
parent4ed1d977fcca5922cf8254b1ffbf16cf47b310b4 (diff)
Merge pull request #54499 from Faless/threads/4.x_work_pool_default
Diffstat (limited to 'platform')
-rw-r--r--platform/javascript/os_javascript.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h
index d053082d92..aacf87e6c5 100644
--- a/platform/javascript/os_javascript.h
+++ b/platform/javascript/os_javascript.h
@@ -75,6 +75,7 @@ public:
Error kill(const ProcessID &p_pid) override;
int get_process_id() const override;
int get_processor_count() const override;
+ int get_default_thread_pool_size() const override { return 1; }
String get_executable_path() const override;
Error shell_open(String p_uri) override;