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

Side by Side Diff: runtime/vm/service_isolate.h

Issue 1270323002: Revert VM thread cleanup (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « runtime/vm/message_handler.cc ('k') | runtime/vm/service_isolate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_SERVICE_ISOLATE_H_ 5 #ifndef VM_SERVICE_ISOLATE_H_
6 #define VM_SERVICE_ISOLATE_H_ 6 #define VM_SERVICE_ISOLATE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
(...skipping 14 matching lines...) Expand all
25 25
26 static Dart_Port WaitForLoadPort(); 26 static Dart_Port WaitForLoadPort();
27 static Dart_Port LoadPort(); 27 static Dart_Port LoadPort();
28 28
29 static void Run(); 29 static void Run();
30 static bool SendIsolateStartupMessage(); 30 static bool SendIsolateStartupMessage();
31 static bool SendIsolateShutdownMessage(); 31 static bool SendIsolateShutdownMessage();
32 static void SendServiceExitMessage(); 32 static void SendServiceExitMessage();
33 static void Shutdown(); 33 static void Shutdown();
34 34
35 private:
36 static void KillServiceIsolate();
37
38 protected: 35 protected:
39 static void SetServicePort(Dart_Port port); 36 static void SetServicePort(Dart_Port port);
40 static void SetServiceIsolate(Isolate* isolate); 37 static void SetServiceIsolate(Isolate* isolate);
41 static void SetLoadPort(Dart_Port port); 38 static void SetLoadPort(Dart_Port port);
42 static void ConstructExitMessageAndCache(Isolate* isolate); 39 static void ConstructExitMessageAndCache(Isolate* isolate);
43 static void FinishedExiting(); 40 static void FinishedExiting();
44 static void FinishedInitializing(); 41 static void FinishedInitializing();
45 static void MaybeInjectVMServiceLibrary(Isolate* isolate); 42 static void MaybeInjectVMServiceLibrary(Isolate* isolate);
46 static Dart_IsolateCreateCallback create_callback() { 43 static Dart_IsolateCreateCallback create_callback() {
47 return create_callback_; 44 return create_callback_;
(...skipping 15 matching lines...) Expand all
63 static Dart_Port origin_; 60 static Dart_Port origin_;
64 61
65 friend class Dart; 62 friend class Dart;
66 friend class RunServiceTask; 63 friend class RunServiceTask;
67 friend class ServiceIsolateNatives; 64 friend class ServiceIsolateNatives;
68 }; 65 };
69 66
70 } // namespace dart 67 } // namespace dart
71 68
72 #endif // VM_SERVICE_ISOLATE_H_ 69 #endif // VM_SERVICE_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/message_handler.cc ('k') | runtime/vm/service_isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698