Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Unified Diff: src/libplatform/default-platform.cc

Issue 1664203004: [platform] Add NumberOfAvailableBackgroundThreads (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Added proper header required to use 'size_t' Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/libplatform/default-platform.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/libplatform/default-platform.cc
diff --git a/src/libplatform/default-platform.cc b/src/libplatform/default-platform.cc
index e8c15572ad1106b97d161fad070dceeffdf6d25e..754e189330d9385617e31535210b83409fe47f56 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>(DefaultPlatform::kMaxThreadPoolSize);
jochen (gone - plz use gerrit) 2016/02/05 15:03:47 return thread_pool_size_?
Michael Lippautz 2016/02/05 15:13:31 Whoops, done.
+}
+
} // namespace platform
} // namespace v8
« no previous file with comments | « src/libplatform/default-platform.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698