OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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/thread.h" |
5 #include "vm/globals.h" | 6 #include "vm/globals.h" |
6 #include "vm/signal_handler.h" | 7 #include "vm/signal_handler.h" |
7 #if defined(TARGET_OS_ANDROID) | 8 #if defined(TARGET_OS_ANDROID) |
8 | 9 |
9 namespace dart { | 10 namespace dart { |
10 | 11 |
11 uintptr_t SignalHandler::GetProgramCounter(const mcontext_t& mcontext) { | 12 uintptr_t SignalHandler::GetProgramCounter(const mcontext_t& mcontext) { |
12 UNIMPLEMENTED(); | 13 UNIMPLEMENTED(); |
13 } | 14 } |
14 | 15 |
(...skipping 21 matching lines...) Expand all Loading... |
36 } | 37 } |
37 | 38 |
38 | 39 |
39 ScopedSignalBlocker::~ScopedSignalBlocker() { | 40 ScopedSignalBlocker::~ScopedSignalBlocker() { |
40 pthread_sigmask(SIG_SETMASK, &old_, NULL); | 41 pthread_sigmask(SIG_SETMASK, &old_, NULL); |
41 } | 42 } |
42 | 43 |
43 } // namespace dart | 44 } // namespace dart |
44 | 45 |
45 #endif // defined(TARGET_OS_ANDROID) | 46 #endif // defined(TARGET_OS_ANDROID) |
OLD | NEW |