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

Unified Diff: runtime/vm/isolate.h

Issue 1447353002: Start isolates in a separate thread. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: reupload Created 5 years, 1 month 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/tests/vm/dart/spawn_shutdown_test.dart ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 3906e77dabaa68f6efa07e161b643713d7f718ee..547ce08728302ae3d7a16900b75e14d05069f13b 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -944,6 +944,8 @@ class StartIsolateScope {
class IsolateSpawnState {
public:
IsolateSpawnState(Dart_Port parent_port,
+ Dart_Port origin_id,
+ void* init_data,
const Function& func,
const Instance& message,
bool paused,
@@ -951,6 +953,7 @@ class IsolateSpawnState {
Dart_Port onExit,
Dart_Port onError);
IsolateSpawnState(Dart_Port parent_port,
+ void* init_data,
const char* script_url,
const char* package_root,
const char** package_map,
@@ -966,6 +969,8 @@ class IsolateSpawnState {
void set_isolate(Isolate* value) { isolate_ = value; }
Dart_Port parent_port() const { return parent_port_; }
+ Dart_Port origin_id() const { return origin_id_; }
+ void* init_data() const { return init_data_; }
Dart_Port on_exit_port() const { return on_exit_port_; }
Dart_Port on_error_port() const { return on_error_port_; }
const char* script_url() const { return script_url_; }
@@ -986,6 +991,8 @@ class IsolateSpawnState {
private:
Isolate* isolate_;
Dart_Port parent_port_;
+ Dart_Port origin_id_;
+ void* init_data_;
Dart_Port on_exit_port_;
Dart_Port on_error_port_;
const char* script_url_;
« no previous file with comments | « runtime/tests/vm/dart/spawn_shutdown_test.dart ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698