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

Unified Diff: runtime/vm/thread.h

Issue 1408923005: Add IsMutatorThread to the Thread class and use it instead of MutatorThreadIsCurrentThread (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/thread.h
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h
index 7c114ba1c9105013e7e9efe28b7d38c7201aa169..f13efc81c70f555009be953d4619579620fe7796 100644
--- a/runtime/vm/thread.h
+++ b/runtime/vm/thread.h
@@ -161,6 +161,7 @@ class Thread {
static intptr_t isolate_offset() {
return OFFSET_OF(Thread, isolate_);
}
+ bool IsMutatorThread() const;
// The (topmost) CHA for the compilation in this thread.
CHA* cha() const;
« runtime/vm/debugger.h ('K') | « runtime/vm/object.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698