| OLD | NEW |
| 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 } |
| OLD | NEW |