Index: src/libplatform/default-platform.cc |
diff --git a/src/libplatform/default-platform.cc b/src/libplatform/default-platform.cc |
index e8c15572ad1106b97d161fad070dceeffdf6d25e..6902504d107a71eedd5a80c6292eaea5c1cfe2bd 100644 |
--- a/src/libplatform/default-platform.cc |
+++ b/src/libplatform/default-platform.cc |
@@ -193,5 +193,10 @@ const char* DefaultPlatform::GetCategoryGroupName( |
static const char dummy[] = "dummy"; |
return dummy; |
} |
+ |
+size_t DefaultPlatform::NumberOfAvailableBackgroundThreads() { |
+ return static_cast<size_t>(thread_pool_size_); |
+} |
+ |
} // namespace platform |
} // namespace v8 |