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

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

Issue 1140263005: Revert "Hide Isolate pointer from embedder" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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/debugger_api_impl_test.cc ('k') | runtime/vm/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_ISOLATE_H_ 5 #ifndef VM_ISOLATE_H_
6 #define VM_ISOLATE_H_ 6 #define VM_ISOLATE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "vm/base_isolate.h" 10 #include "vm/base_isolate.h"
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 static Dart_FileOpenCallback file_open_callback_; 812 static Dart_FileOpenCallback file_open_callback_;
813 static Dart_FileReadCallback file_read_callback_; 813 static Dart_FileReadCallback file_read_callback_;
814 static Dart_FileWriteCallback file_write_callback_; 814 static Dart_FileWriteCallback file_write_callback_;
815 static Dart_FileCloseCallback file_close_callback_; 815 static Dart_FileCloseCallback file_close_callback_;
816 static Dart_EntropySource entropy_source_callback_; 816 static Dart_EntropySource entropy_source_callback_;
817 static Dart_IsolateInterruptCallback vmstats_callback_; 817 static Dart_IsolateInterruptCallback vmstats_callback_;
818 818
819 static void WakePauseEventHandler(Dart_Isolate isolate); 819 static void WakePauseEventHandler(Dart_Isolate isolate);
820 820
821 // Manage list of existing isolates. 821 // Manage list of existing isolates.
822 static Isolate* FindIsolateInList(Dart_Isolate isolate);
823 static void AddIsolateTolist(Isolate* isolate); 822 static void AddIsolateTolist(Isolate* isolate);
824 static void RemoveIsolateFromList(Isolate* isolate); 823 static void RemoveIsolateFromList(Isolate* isolate);
825 static void CheckForDuplicateThreadState(InterruptableThreadState* state); 824 static void CheckForDuplicateThreadState(InterruptableThreadState* state);
826 825
827 static Monitor* isolates_list_monitor_; // Protects isolates_list_head_ 826 static Monitor* isolates_list_monitor_; // Protects isolates_list_head_
828 static Isolate* isolates_list_head_; 827 static Isolate* isolates_list_head_;
829 828
830 #define REUSABLE_FRIEND_DECLARATION(name) \ 829 #define REUSABLE_FRIEND_DECLARATION(name) \
831 friend class Reusable##name##HandleScope; 830 friend class Reusable##name##HandleScope;
832 REUSABLE_HANDLE_LIST(REUSABLE_FRIEND_DECLARATION) 831 REUSABLE_HANDLE_LIST(REUSABLE_FRIEND_DECLARATION)
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 uint8_t* serialized_args_; 963 uint8_t* serialized_args_;
965 intptr_t serialized_args_len_; 964 intptr_t serialized_args_len_;
966 uint8_t* serialized_message_; 965 uint8_t* serialized_message_;
967 intptr_t serialized_message_len_; 966 intptr_t serialized_message_len_;
968 bool paused_; 967 bool paused_;
969 }; 968 };
970 969
971 } // namespace dart 970 } // namespace dart
972 971
973 #endif // VM_ISOLATE_H_ 972 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/debugger_api_impl_test.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698