Index: runtime/vm/thread_interrupter_android.cc |
diff --git a/runtime/vm/thread_interrupter_android.cc b/runtime/vm/thread_interrupter_android.cc |
index fd27d530e05069510a1d73d98a4ae645e040a377..a459eb23c785df43aa211c13f0d754928fac97a1 100644 |
--- a/runtime/vm/thread_interrupter_android.cc |
+++ b/runtime/vm/thread_interrupter_android.cc |
@@ -50,7 +50,8 @@ void ThreadInterrupter::InterruptThread(InterruptableThreadState* state) { |
OS::Print("ThreadInterrupter interrupting %p\n", |
reinterpret_cast<void*>(state->id)); |
} |
- syscall(__NR_tgkill, getpid(), state->id, SIGPROF); |
+ int resut = syscall(__NR_tgkill, getpid(), state->id, SIGPROF); |
+ ASSERT(result == 0); |
} |