OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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_H_ | 5 #ifndef VM_THREAD_H_ |
6 #define VM_THREAD_H_ | 6 #define VM_THREAD_H_ |
7 | 7 |
8 #include "vm/globals.h" | 8 #include "vm/globals.h" |
9 #include "vm/os_thread.h" | 9 #include "vm/os_thread.h" |
10 #include "vm/store_buffer.h" | 10 #include "vm/store_buffer.h" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 | 200 |
201 void set_top_exit_frame_info(uword top_exit_frame_info) { | 201 void set_top_exit_frame_info(uword top_exit_frame_info) { |
202 state_.top_exit_frame_info = top_exit_frame_info; | 202 state_.top_exit_frame_info = top_exit_frame_info; |
203 } | 203 } |
204 | 204 |
205 static void SetCurrent(Thread* current); | 205 static void SetCurrent(Thread* current); |
206 | 206 |
207 void Schedule(Isolate* isolate); | 207 void Schedule(Isolate* isolate); |
208 void Unschedule(); | 208 void Unschedule(); |
209 | 209 |
| 210 friend class ApiZone; |
210 friend class Isolate; | 211 friend class Isolate; |
211 friend class StackZone; | 212 friend class StackZone; |
212 DISALLOW_COPY_AND_ASSIGN(Thread); | 213 DISALLOW_COPY_AND_ASSIGN(Thread); |
213 }; | 214 }; |
214 | 215 |
215 } // namespace dart | 216 } // namespace dart |
216 | 217 |
217 #endif // VM_THREAD_H_ | 218 #endif // VM_THREAD_H_ |
OLD | NEW |