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

Side by Side Diff: runtime/bin/thread_pool_win.cc

Issue 9112013: Thread pool changes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added tread pool shutdown Created 8 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/bin/thread_pool_test.cc ('k') | runtime/tests/vm/vm.status » ('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 #include "bin/thread_pool.h" 5 #include "bin/thread_pool.h"
6 6
7 TaskQueue::TaskQueue() : head_(NULL), tail_(NULL) { 7 TaskQueue::TaskQueue() : terminate_(false), head_(NULL), tail_(NULL) {
8 UNIMPLEMENTED(); 8 UNIMPLEMENTED();
9 } 9 }
10 10
11 11
12 void TaskQueue::Insert(TaskQueueEntry* entry) { 12 void TaskQueue::Insert(TaskQueueEntry* entry) {
13 UNIMPLEMENTED(); 13 UNIMPLEMENTED();
14 } 14 }
15 15
16 16
17 void TaskQueue::Shutdown() {
18 UNIMPLEMENTED();
19 }
20
21
17 TaskQueueEntry* TaskQueue::Remove() { 22 TaskQueueEntry* TaskQueue::Remove() {
18 UNIMPLEMENTED(); 23 UNIMPLEMENTED();
19 return NULL; 24 return NULL;
20 } 25 }
21 26
22 27
23 void ThreadPool::Start() { 28 void ThreadPool::Start() {
24 UNIMPLEMENTED(); 29 UNIMPLEMENTED();
25 } 30 }
31
32
33 void ThreadPool::Shutdown() {
34 UNIMPLEMENTED();
35 }
OLDNEW
« no previous file with comments | « runtime/bin/thread_pool_test.cc ('k') | runtime/tests/vm/vm.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698