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

Unified Diff: runtime/vm/thread_interrupter.h

Issue 1428373003: Minor cleanup (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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
« runtime/vm/thread.h ('K') | « runtime/vm/thread.h ('k') | no next file » | 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 9a70e497c413c221977b441884a0236e600f975c..535761581fb1f96b92677a6d9a03574be9dda716 100644
--- a/runtime/vm/thread_interrupter.h
+++ b/runtime/vm/thread_interrupter.h
@@ -12,6 +12,15 @@
namespace dart {
+struct InterruptedThreadState {
+ uintptr_t pc;
+ uintptr_t csp;
+ uintptr_t dsp;
+ uintptr_t fp;
+ uintptr_t lr;
+};
+
+
class ThreadInterrupter : public AllStatic {
public:
static void InitOnce();
@@ -43,8 +52,6 @@ class ThreadInterrupter : public AllStatic {
return current_wait_time_ == Monitor::kNoTimeout;
}
- static void UpdateStateObject(ThreadInterruptCallback callback, void* data);
-
static void ThreadMain(uword parameters);
static void InstallSignalHandler();
« runtime/vm/thread.h ('K') | « runtime/vm/thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698