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

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

Issue 1361213003: Distinguish internal kill messages from user-initiated kill messages. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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
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/atomic.h" 10 #include "vm/atomic.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 enum LibMsgId { 118 enum LibMsgId {
119 kPauseMsg = 1, 119 kPauseMsg = 1,
120 kResumeMsg = 2, 120 kResumeMsg = 2,
121 kPingMsg = 3, 121 kPingMsg = 3,
122 kKillMsg = 4, 122 kKillMsg = 4,
123 kAddExitMsg = 5, 123 kAddExitMsg = 5,
124 kDelExitMsg = 6, 124 kDelExitMsg = 6,
125 kAddErrorMsg = 7, 125 kAddErrorMsg = 7,
126 kDelErrorMsg = 8, 126 kDelErrorMsg = 8,
127 kErrorFatalMsg = 9, 127 kErrorFatalMsg = 9,
128 kInterruptMsg = 10, 128
129 // Internal message ids.
130 kInterruptMsg = 10, // Break in the debugger.
131 kInternalKillMsg = 11, // Like kill, but does not run exit listeners, etc.
129 }; 132 };
130 // The different Isolate API message priorities for ping and kill messages. 133 // The different Isolate API message priorities for ping and kill messages.
131 enum LibMsgPriority { 134 enum LibMsgPriority {
132 kImmediateAction = 0, 135 kImmediateAction = 0,
133 kBeforeNextEventAction = 1, 136 kBeforeNextEventAction = 1,
134 kAsEventAction = 2 137 kAsEventAction = 2
135 }; 138 };
136 139
137 ~Isolate(); 140 ~Isolate();
138 141
(...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 uint8_t* serialized_message_; 1150 uint8_t* serialized_message_;
1148 intptr_t serialized_message_len_; 1151 intptr_t serialized_message_len_;
1149 Isolate::Flags isolate_flags_; 1152 Isolate::Flags isolate_flags_;
1150 bool paused_; 1153 bool paused_;
1151 bool errors_are_fatal_; 1154 bool errors_are_fatal_;
1152 }; 1155 };
1153 1156
1154 } // namespace dart 1157 } // namespace dart
1155 1158
1156 #endif // VM_ISOLATE_H_ 1159 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/isolate.cc » ('j') | runtime/vm/raw_object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698