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