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

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

Issue 1275353005: VM thread shutdown. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merge Created 5 years, 3 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/custom_isolate_test.cc ('k') | runtime/vm/dart.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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_DART_H_ 5 #ifndef VM_DART_H_
6 #define VM_DART_H_ 6 #define VM_DART_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "vm/allocation.h" 9 #include "vm/allocation.h"
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 } 48 }
49 static DebugInfo* pprof_symbol_generator() { return pprof_symbol_generator_; } 49 static DebugInfo* pprof_symbol_generator() { return pprof_symbol_generator_; }
50 50
51 static LocalHandle* AllocateReadOnlyApiHandle(); 51 static LocalHandle* AllocateReadOnlyApiHandle();
52 static bool IsReadOnlyApiHandle(Dart_Handle handle); 52 static bool IsReadOnlyApiHandle(Dart_Handle handle);
53 53
54 static uword AllocateReadOnlyHandle(); 54 static uword AllocateReadOnlyHandle();
55 static bool IsReadOnlyHandle(uword address); 55 static bool IsReadOnlyHandle(uword address);
56 56
57 private: 57 private:
58 static void WaitForIsolateShutdown();
59
58 static Isolate* vm_isolate_; 60 static Isolate* vm_isolate_;
59 static ThreadPool* thread_pool_; 61 static ThreadPool* thread_pool_;
60 static DebugInfo* pprof_symbol_generator_; 62 static DebugInfo* pprof_symbol_generator_;
61 static ReadOnlyHandles* predefined_handles_; 63 static ReadOnlyHandles* predefined_handles_;
62 }; 64 };
63 65
64 } // namespace dart 66 } // namespace dart
65 67
66 #endif // VM_DART_H_ 68 #endif // VM_DART_H_
OLDNEW
« no previous file with comments | « runtime/vm/custom_isolate_test.cc ('k') | runtime/vm/dart.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698