| Index: runtime/vm/thread_interrupter_linux.cc
|
| diff --git a/runtime/vm/thread_interrupter_linux.cc b/runtime/vm/thread_interrupter_linux.cc
|
| index 5ff3c92f5cc324563188592425fcf71a3ab55ef9..5b275c237bbd41509ecca03c72f9fd82f352ad0a 100644
|
| --- a/runtime/vm/thread_interrupter_linux.cc
|
| +++ b/runtime/vm/thread_interrupter_linux.cc
|
| @@ -48,7 +48,8 @@ void ThreadInterrupter::InterruptThread(InterruptableThreadState* state) {
|
| OS::Print("ThreadInterrupter interrupting %p\n",
|
| reinterpret_cast<void*>(state->id));
|
| }
|
| - pthread_kill(state->id, SIGPROF);
|
| + int result = pthread_kill(state->id, SIGPROF);
|
| + ASSERT(result == 0);
|
| }
|
|
|
|
|
|
|