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(HOST_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() { | 14 bool ThreadInterrupter::IsDebuggerAttached() { |
15 return false; | 15 return false; |
16 } | 16 } |
17 | 17 |
18 void ThreadInterrupter::InterruptThread(OSThread* thread) { | 18 void ThreadInterrupter::InterruptThread(OSThread* thread) { |
19 UNIMPLEMENTED(); | 19 UNIMPLEMENTED(); |
20 } | 20 } |
21 | 21 |
22 | 22 |
23 void ThreadInterrupter::InstallSignalHandler() { | 23 void ThreadInterrupter::InstallSignalHandler() { |
24 UNIMPLEMENTED(); | 24 UNIMPLEMENTED(); |
25 } | 25 } |
26 | 26 |
27 | 27 |
28 void ThreadInterrupter::RemoveSignalHandler() { | 28 void ThreadInterrupter::RemoveSignalHandler() { |
29 UNIMPLEMENTED(); | 29 UNIMPLEMENTED(); |
30 } | 30 } |
31 | 31 |
32 } // namespace dart | 32 } // namespace dart |
33 | 33 |
34 #endif // defined(TARGET_OS_FUCHSIA) | 34 #endif // defined(HOST_OS_FUCHSIA) |
OLD | NEW |