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/globals.h" | 5 #include "platform/globals.h" |
6 #if defined(TARGET_OS_WINDOWS) | 6 #if defined(TARGET_OS_WINDOWS) |
7 | 7 |
8 #include "vm/flags.h" | 8 #include "vm/flags.h" |
9 #include "vm/os.h" | 9 #include "vm/os.h" |
10 #include "vm/thread_interrupter.h" | 10 #include "vm/thread_interrupter.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 OS::Print("ThreadInterrupter resuming %p\n", | 103 OS::Print("ThreadInterrupter resuming %p\n", |
104 reinterpret_cast<void*>(state->id)); | 104 reinterpret_cast<void*>(state->id)); |
105 } | 105 } |
106 } | 106 } |
107 | 107 |
108 | 108 |
109 void ThreadInterrupter::InstallSignalHandler() { | 109 void ThreadInterrupter::InstallSignalHandler() { |
110 // Nothing to do on Windows. | 110 // Nothing to do on Windows. |
111 } | 111 } |
112 | 112 |
| 113 |
| 114 void ThreadInterrupter::RemoveSignalHandler() { |
| 115 // Nothing to do on Windows. |
| 116 } |
| 117 |
| 118 |
113 } // namespace dart | 119 } // namespace dart |
114 | 120 |
115 #endif // defined(TARGET_OS_WINDOWS) | 121 #endif // defined(TARGET_OS_WINDOWS) |
116 | 122 |
OLD | NEW |