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

Unified Diff: runtime/vm/thread.h

Issue 2565253004: Added task kind field to thread JSON output. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | runtime/vm/thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread.h
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h
index 01f16982527a05554a1863f5081ebfa59461f4ab..65bbdf042be0d38aa6a822c9eb94f65fe27a296a 100644
--- a/runtime/vm/thread.h
+++ b/runtime/vm/thread.h
@@ -161,6 +161,9 @@ class Thread : public BaseThread {
kMarkerTask = 0x8,
kFinalizerTask = 0x10,
};
+ // Converts a TaskKind to its corresponding C-String name.
+ static const char* TaskKindToCString(TaskKind kind);
+
~Thread();
// The currently executing thread, or NULL if not yet initialized.
« no previous file with comments | « no previous file | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698