| Index: runtime/vm/thread_interrupter_android.cc
|
| diff --git a/runtime/vm/thread_interrupter_android.cc b/runtime/vm/thread_interrupter_android.cc
|
| index e4c3817638780946cb9cf6e26f25fc0f9e8690cf..598784610b5179ab221cc3fb0ba4800ae107b8ef 100644
|
| --- a/runtime/vm/thread_interrupter_android.cc
|
| +++ b/runtime/vm/thread_interrupter_android.cc
|
| @@ -5,8 +5,8 @@
|
| #include "platform/globals.h"
|
| #if defined(HOST_OS_ANDROID)
|
|
|
| -#include <sys/syscall.h> // NOLINT
|
| #include <errno.h> // NOLINT
|
| +#include <sys/syscall.h> // NOLINT
|
|
|
| #include "vm/flags.h"
|
| #include "vm/os.h"
|
| @@ -46,12 +46,10 @@ class ThreadInterrupterAndroid : public AllStatic {
|
| }
|
| };
|
|
|
| -
|
| bool ThreadInterrupter::IsDebuggerAttached() {
|
| return false;
|
| }
|
|
|
| -
|
| void ThreadInterrupter::InterruptThread(OSThread* thread) {
|
| if (FLAG_trace_thread_interrupter) {
|
| OS::PrintErr("ThreadInterrupter interrupting %p\n",
|
| @@ -61,13 +59,11 @@ void ThreadInterrupter::InterruptThread(OSThread* thread) {
|
| ASSERT((result == 0) || (result == ESRCH));
|
| }
|
|
|
| -
|
| void ThreadInterrupter::InstallSignalHandler() {
|
| SignalHandler::Install<
|
| ThreadInterrupterAndroid::ThreadInterruptSignalHandler>();
|
| }
|
|
|
| -
|
| void ThreadInterrupter::RemoveSignalHandler() {
|
| SignalHandler::Remove();
|
| }
|
|
|