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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 7f59321f13e83b0338066adc027559e9602bb455..2d5288ebb17e8db59339398a2ddaf5741585b100 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -125,7 +125,10 @@ class Isolate : public BaseIsolate {
kAddErrorMsg = 7,
kDelErrorMsg = 8,
kErrorFatalMsg = 9,
- kInterruptMsg = 10,
+
+ // Internal message ids.
+ kInterruptMsg = 10, // Break in the debugger.
+ kInternalKillMsg = 11, // Like kill, but does not run exit listeners, etc.
};
// The different Isolate API message priorities for ping and kill messages.
enum LibMsgPriority {
« 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