| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "platform/globals.h" | 5 #include "platform/globals.h" |
| 6 #if defined(TARGET_OS_FUCHSIA) | 6 #if defined(TARGET_OS_FUCHSIA) |
| 7 | 7 |
| 8 #include "vm/thread_interrupter.h" | 8 #include "vm/thread_interrupter.h" |
| 9 | 9 |
| 10 #include "platform/assert.h" | 10 #include "platform/assert.h" |
| 11 | 11 |
| 12 namespace dart { | 12 namespace dart { |
| 13 | 13 |
| 14 bool ThreadInterrupter::IsDebuggerAttached() { |
| 15 return false; |
| 16 } |
| 17 |
| 14 void ThreadInterrupter::InterruptThread(OSThread* thread) { | 18 void ThreadInterrupter::InterruptThread(OSThread* thread) { |
| 15 UNIMPLEMENTED(); | 19 UNIMPLEMENTED(); |
| 16 } | 20 } |
| 17 | 21 |
| 18 | 22 |
| 19 void ThreadInterrupter::InstallSignalHandler() { | 23 void ThreadInterrupter::InstallSignalHandler() { |
| 20 UNIMPLEMENTED(); | 24 UNIMPLEMENTED(); |
| 21 } | 25 } |
| 22 | 26 |
| 23 | 27 |
| 24 void ThreadInterrupter::RemoveSignalHandler() { | 28 void ThreadInterrupter::RemoveSignalHandler() { |
| 25 UNIMPLEMENTED(); | 29 UNIMPLEMENTED(); |
| 26 } | 30 } |
| 27 | 31 |
| 28 } // namespace dart | 32 } // namespace dart |
| 29 | 33 |
| 30 #endif // defined(TARGET_OS_FUCHSIA) | 34 #endif // defined(TARGET_OS_FUCHSIA) |
| OLD | NEW |