Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | |
| 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. | |
| 4 | |
| 5 part of models; | |
| 6 | |
| 7 enum ThreadKind { | |
| 8 unknownTask, | |
| 9 mutatorTask, | |
| 10 compilerTask, | |
| 11 sweeperTask, | |
| 12 markerTask, | |
| 13 finalizerTask | |
| 14 } | |
| 15 | |
| 16 abstract class Thread { | |
| 17 /// The id associated with the thread on creation. | |
| 18 String get id; | |
| 19 | |
| 20 /// The task type associated with the thread. | |
| 21 ThreadKind get kind; | |
| 22 | |
| 23 /// A list of all the zones held by the thread. | |
| 24 Iterable<Zone> get zones; | |
| 25 } | |
| OLD | NEW |