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

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

Issue 796063006: Rename Thread -> OSThread. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/thread_macos.cc ('k') | runtime/vm/thread_pool.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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_POOL_H_ 5 #ifndef VM_THREAD_POOL_H_
6 #define VM_THREAD_POOL_H_ 6 #define VM_THREAD_POOL_H_
7 7
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #include "vm/thread.h" 9 #include "vm/os_thread.h"
10 10
11 namespace dart { 11 namespace dart {
12 12
13 class ThreadPool { 13 class ThreadPool {
14 public: 14 public:
15 // Subclasses of Task are able to run on a ThreadPool. 15 // Subclasses of Task are able to run on a ThreadPool.
16 class Task { 16 class Task {
17 protected: 17 protected:
18 Task(); 18 Task();
19 19
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 static Monitor* exit_monitor_; // Used only in testing. 108 static Monitor* exit_monitor_; // Used only in testing.
109 static int* exit_count_; // Used only in testing. 109 static int* exit_count_; // Used only in testing.
110 110
111 DISALLOW_COPY_AND_ASSIGN(ThreadPool); 111 DISALLOW_COPY_AND_ASSIGN(ThreadPool);
112 }; 112 };
113 113
114 } // namespace dart 114 } // namespace dart
115 115
116 #endif // VM_THREAD_POOL_H_ 116 #endif // VM_THREAD_POOL_H_
OLDNEW
« no previous file with comments | « runtime/vm/thread_macos.cc ('k') | runtime/vm/thread_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698