| 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 #ifndef BIN_THREAD_POOL_WIN_H_ | 5 #ifndef BIN_THREAD_POOL_WIN_H_ |
| 6 #define BIN_THREAD_POOL_WIN_H_ | 6 #define BIN_THREAD_POOL_WIN_H_ |
| 7 | 7 |
| 8 #include "platform/globals.h" | 8 #include "platform/globals.h" |
| 9 | 9 |
| 10 class TaskQueueData { | |
| 11 private: | |
| 12 TaskQueueData() { UNIMPLEMENTED(); } | |
| 13 ~TaskQueueData() {} | |
| 14 | |
| 15 friend class TaskQueue; | |
| 16 | |
| 17 DISALLOW_ALLOCATION(); | |
| 18 DISALLOW_COPY_AND_ASSIGN(TaskQueueData); | |
| 19 }; | |
| 20 | |
| 21 | |
| 22 class ThreadPoolData { | 10 class ThreadPoolData { |
| 23 private: | 11 private: |
| 24 static const int kMaxThreadPoolSize = 16; | 12 static const int kMaxThreadPoolSize = 16; |
| 25 | 13 |
| 26 ThreadPoolData() { UNIMPLEMENTED(); } | 14 ThreadPoolData() { UNIMPLEMENTED(); } |
| 27 ~ThreadPoolData() {} | 15 ~ThreadPoolData() {} |
| 28 | 16 |
| 29 friend class ThreadPool; | 17 friend class ThreadPool; |
| 30 | 18 |
| 31 DISALLOW_ALLOCATION(); | 19 DISALLOW_ALLOCATION(); |
| 32 DISALLOW_COPY_AND_ASSIGN(ThreadPoolData); | 20 DISALLOW_COPY_AND_ASSIGN(ThreadPoolData); |
| 33 }; | 21 }; |
| 34 | 22 |
| 35 #endif // BIN_THREAD_POOL_WIN_H_ | 23 #endif // BIN_THREAD_POOL_WIN_H_ |
| OLD | NEW |