Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Side by Side Diff: runtime/vm/thread.h

Issue 1282423003: Enable iterating over roots from helper threads by moving stack walking. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 } 255 }
256 256
257 static void SetCurrent(Thread* current); 257 static void SetCurrent(Thread* current);
258 258
259 void Schedule(Isolate* isolate); 259 void Schedule(Isolate* isolate);
260 void Unschedule(); 260 void Unschedule();
261 261
262 friend class ApiZone; 262 friend class ApiZone;
263 friend class Isolate; 263 friend class Isolate;
264 friend class StackZone; 264 friend class StackZone;
265 friend class ThreadRegistry;
265 DISALLOW_COPY_AND_ASSIGN(Thread); 266 DISALLOW_COPY_AND_ASSIGN(Thread);
266 }; 267 };
267 268
268 } // namespace dart 269 } // namespace dart
269 270
270 #endif // VM_THREAD_H_ 271 #endif // VM_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698