| 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 #ifndef VM_THREAD_INTERRUPTER_H_ | 5 #ifndef RUNTIME_VM_THREAD_INTERRUPTER_H_ |
| 6 #define VM_THREAD_INTERRUPTER_H_ | 6 #define RUNTIME_VM_THREAD_INTERRUPTER_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/signal_handler.h" | 9 #include "vm/signal_handler.h" |
| 10 #include "vm/os_thread.h" | 10 #include "vm/os_thread.h" |
| 11 #include "vm/thread.h" | 11 #include "vm/thread.h" |
| 12 | 12 |
| 13 namespace dart { | 13 namespace dart { |
| 14 | 14 |
| 15 struct InterruptedThreadState { | 15 struct InterruptedThreadState { |
| 16 uintptr_t pc; | 16 uintptr_t pc; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 57 static void InstallSignalHandler(); | 57 static void InstallSignalHandler(); |
| 58 | 58 |
| 59 static void RemoveSignalHandler(); | 59 static void RemoveSignalHandler(); |
| 60 | 60 |
| 61 friend class ThreadInterrupterVisitIsolates; | 61 friend class ThreadInterrupterVisitIsolates; |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace dart | 64 } // namespace dart |
| 65 | 65 |
| 66 #endif // VM_THREAD_INTERRUPTER_H_ | 66 #endif // RUNTIME_VM_THREAD_INTERRUPTER_H_ |
| OLD | NEW |