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

Unified Diff: src/isolate.h

Issue 104583003: [platform] Implement a worker pool (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 7 years 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/default-platform.cc ('k') | src/libplatform/default-platform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 7ba30883c755bc358709d68e2f59a73a9864616b..30f33d15ea310370353f28c403df8204698ebe76 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -1086,6 +1086,10 @@ class Isolate {
bool IsDeferredHandle(Object** location);
#endif // DEBUG
+ int max_available_threads() const {
+ return max_available_threads_;
+ }
+
void set_max_available_threads(int value) {
max_available_threads_ = value;
}
« no previous file with comments | « src/default-platform.cc ('k') | src/libplatform/default-platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698