| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 #ifndef BIN_THREAD_POOL_WIN_H_ |
| 6 #define BIN_THREAD_POOL_WIN_H_ |
| 7 |
| 8 #include "vm/globals.h" |
| 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 { |
| 23 private: |
| 24 static const int kMaxThreadPoolSize = 16; |
| 25 |
| 26 ThreadPoolData() { UNIMPLEMENTED(); } |
| 27 ~ThreadPoolData() {} |
| 28 |
| 29 friend class ThreadPool; |
| 30 |
| 31 DISALLOW_ALLOCATION(); |
| 32 DISALLOW_COPY_AND_ASSIGN(ThreadPoolData); |
| 33 }; |
| 34 |
| 35 #endif // BIN_THREAD_POOL_WIN_H_ |
| OLD | NEW |