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

Unified Diff: runtime/vm/thread_interrupter.h

Issue 205713004: Add isolate tag-profile and better handling of errors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
« no previous file with comments | « runtime/vm/tags.cc ('k') | runtime/vm/thread_interrupter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread_interrupter.h
diff --git a/runtime/vm/thread_interrupter.h b/runtime/vm/thread_interrupter.h
index 30bc4a879f340250e8fbe12ad471ba65750e68ab..9ee100e33509e2e6fe44355a98ff55d86558e80f 100644
--- a/runtime/vm/thread_interrupter.h
+++ b/runtime/vm/thread_interrupter.h
@@ -61,6 +61,9 @@ class ThreadInterrupter : public AllStatic {
// Get the current thread state. Will not create one if one doesn't exist.
static InterruptableThreadState* CurrentThreadState();
+ // Interrupt a thread.
+ static void InterruptThread(InterruptableThreadState* thread_state);
+
private:
static const intptr_t kMaxThreads = 4096;
static bool initialized_;
@@ -76,7 +79,6 @@ class ThreadInterrupter : public AllStatic {
static void SetCurrentThreadState(InterruptableThreadState* state);
- static void InterruptThread(InterruptableThreadState* thread_state);
static void ThreadMain(uword parameters);
static void InstallSignalHandler();
« no previous file with comments | « runtime/vm/tags.cc ('k') | runtime/vm/thread_interrupter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698