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

Unified Diff: runtime/vm/dart.h

Issue 9924015: Use the ThreadPool for all isolates and native ports. Previously, (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 | « runtime/vm/code_generator.cc ('k') | runtime/vm/dart.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart.h
===================================================================
--- runtime/vm/dart.h (revision 6698)
+++ runtime/vm/dart.h (working copy)
@@ -14,6 +14,7 @@
class DebugInfo;
class Isolate;
class RawError;
+class ThreadPool;
class Dart : public AllStatic {
public:
@@ -25,6 +26,7 @@
static void ShutdownIsolate();
static Isolate* vm_isolate() { return vm_isolate_; }
+ static ThreadPool* thread_pool() { return thread_pool_; }
static void set_pprof_symbol_generator(DebugInfo* value) {
pprof_symbol_generator_ = value;
@@ -33,6 +35,7 @@
private:
static Isolate* vm_isolate_;
+ static ThreadPool* thread_pool_;
static DebugInfo* pprof_symbol_generator_;
};
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/dart.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698